View source: R/remove_samples.R
remove_samples | R Documentation |
Remove samples with large frequency of missing values (method = "missing") or low expression (method = "detection.pvalue" or method = "zero").
remove_samples(se, assay = 1, method, freq = 0.5, verbose = FALSE)
se |
|
assay |
Character or integer. Name or number of assay to be used for filtering. |
method |
Method to determine samples to be removed: "missing", "detection.pvalue", "zero". |
freq |
Numeric. If more than freq*100 % of the genes fulfill criterion, the sample is removed. |
verbose |
Logical. Should number of removed samples be reported? |
RangedSummarizedExperiment-class
object with samples removed
library(recount)
data("rse_gene_SRP009615")
rse_gene_SRP009615 = remove_samples(se = rse_gene_SRP009615,
method = "zero",
freq = 0.4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.