freq {MAST} | R Documentation |
freq
returns the frequency of expression, i.e., the proportion of non-zero values in sc
.
NAs can be optionally removed
freq(sc, na.rm = TRUE) condmean(sc) condSd(sc) numexp(sc)
sc |
SingleCellAssay |
na.rm |
should NAs be removed, or carried through? |
vector of proportions
condmean
: Report the mean non-zero expression value for each gene. NAs are always removed.
condSd
: Report standard deviation of expression, for positive et for each gene. NAs are always removed.
numexp
: Report number of expressing cells ($>0$) per gene. NAs are removed.
data(vbetaFA) freq(vbetaFA) condmean(vbetaFA)