Function to calculate the size factor for the single-cell RNA-seq data
@importFrom stats median
1 2 | estimateSizeFactorsForMatrix(counts, locfunc = median, round_exprs = TRUE,
method = "mean-geometric-mean-total")
|
counts |
The matrix for the gene expression data, either read counts or FPKM values or transcript counts |
locfunc |
The location function used to find the representive value |
round_exprs |
A logic flag to determine whether or not the expression value should be rounded |
method |
A character to specify the size factor calculation appraoches. It can be either "mean-geometric-mean-total" (default), "weighted-median", "median-geometric-mean", "median", "mode", "geometric-mean-total". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.