Skip to content
Discussion options

You must be logged in to vote

Without a reproducible example, I cannot comment explicitly but one possibility is the filtering performed here:

ArchR/R/MarkerFeatures.R

Lines 427 to 440 in f6c0388

#Check for Mean being 0 for both Mean1 and Mean2
idxFilter1 <- rowSums(pairwiseDF[,c("mean1","mean2")]) != 0
#Check For NA in Either Mean1 Mean2
idxFilter2 <- rowSums(is.na(pairwiseDF[,c("mean1","mean2")])) == 0
#Combo Check
idxFilter <- idxFilter1 & idxFilter2
#FDR
pairwiseDF$fdr <- NA
pairwiseDF$fdr[idxFilter] <- p.adjust(pairwiseDF$pval[idxFilter], method = "fdr")
pairwiseDF <- pairwiseDF[rownames(featureDF), , drop = FALSE]
pairwiseDF

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by evaham1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants