Filter cells based on gene/molecule dependency
gene.vs.molecule.cell.filter(
countMatrix,
min.cell.size = 500,
max.cell.size = 50000,
p.level = min(0.001, 1/ncol(countMatrix)),
alpha = 0.1,
plot = TRUE,
do.par = TRUE
)
input count matrix to be filtered
numeric Min allowed cell size (default=500)
numeric Max allowed cell size (default=5e4)
numeric Statistical confidence level for deviation from the main trend, used for cell filtering (default=min(1e-3,1/ncol(countMatrix)))
numeric Shading of the confidence band (default=0.1)
boolean Plot the molecule distribution and the gene/molecule dependency fit (default=TRUE)
boolean Reset graphical parameters prior to plotting (default=TRUE)
a filtered matrix