Description Usage Arguments Details Value Examples
View source: R/compute_metrics.R
The function computes for each cell the median CV. The expression data is normalized twice. First, cell median expression is used as normalization factor, then, the mean for each batch and peptide. The CV is then computed for each protein in each cell. CV is the standard deviation divided by the mean expression. The CV is computed only if there are more than 5 observations per protein per cell.
1 | computeMedianCV(object, i, peptideCol, proteinCol, batchCol)
|
object |
A |
i |
A |
peptideCol |
A |
proteinCol |
A |
batchCol |
A |
A new columns, .medianCV
, is added to the colData
of the assay
i
and contains the computed median CVs.
Watch out that peptideCol
and proteinCol
are feature
variables and hence taken from the rowData
. batchCol
is a
sample variable and is taken from the colData
of the QFeatures
object.
A QFeatures
object.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.