featureQC | R Documentation |
Quality control on features
featureQC(sce, spike, detection_limit = 1, threshold = 0.25, sd = 0.03, pc = 2)
sce |
SingleCellExperiment with |
spike |
the character name of spike genes. The default is |
detection_limit |
Numeric scalar providing the value above which observations are deemed to be expressed. |
threshold |
A numeric scalar specifying the threshold above which percentage of cells expressed within each cell type. Default is 0.25 |
sd |
A numeric scalar specifying the cell type weighted allelic ratio mean standard deviation threshold above which are interested features with highly variation. Default is 0.03 |
pc |
pseudocount in the |
A DataFrame of QC statistics includes
filter_celltype indicate whether genes expressed in more than
threshold
cells for all cell types
sd read counts standard deviation for each feature
filter_sd indicate whether gene standard deviation
exceed sd
filter_spike indicate no spike genes
sce <- makeSimulatedData() sce <- preprocess(sce) featureQCmetric <- featureQC(sce) keep_feature <- (featureQCmetric$filter_celltype & featureQCmetric$filter_sd & featureQCmetric$filter_spike) sce <- sce[keep_feature, ] # or manually setting threshold featureQCmetric <- featureQC(sce, spike = "Ercc", threshold = 0.25, sd = 0.03, pc = 2 ) keep_feature <- (featureQCmetric$filter_celltype & featureQCmetric$sd > 0.02)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.