Skip to content
Discussion options

You must be logged in to vote

This is because there are different normalization factors imposed on the matrix if you use the binomial test. See the code snippet below:

ArchR/R/MarkerFeatures.R

Lines 203 to 223 in 968e442

if(is.null(normBy)){
if(tolower(testMethod) == "binomial"){
normFactors <- NULL
}else{
if(tolower(useMatrix) %in% c("tilematrix", "peakmatrix")){
normBy <- "ReadsInTSS"
normFactors <- getCellColData(ArchRProj, normBy, drop=FALSE)
normFactors[,1] <- median(normFactors[,1]) / normFactors[,1]
}else{
normFactors <- scaleTo / mColSums
normFactors <- DataFrame(normFactors)
}
}
}else{
if(tolower(normBy) == "none"){
normFac…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dmsalsgh97
Comment options

@cacaonib
Comment options

@yangxueqianR
Comment options

Answer selected by dmsalsgh97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants