| remove_genes | R Documentation | 
Remove genes with no variability (method = "constant"), missing values (method = "missing") or low expression (method = "detection.pvalue", method = "zero" or method = "edgeR").
remove_genes(
  se,
  assay = 1,
  method,
  freq = 0.25,
  min.count = 10,
  min.total.count = 15,
  verbose = FALSE
)
se | 
 
  | 
assay | 
 Character or integer. Name or number of assay to be used for filtering.  | 
method | 
 Method to determine genes to be removed: "constant", "missing",
"detection.pvalue", "zero", "edgeR" (using
  | 
freq | 
 Numeric. If more than freq*100 % of the samples fulfill criterion, the gene is removed (not used if method = "constant").  | 
min.count | 
 Numeric. Minimum count required for at least some samples ( used only if method = "edgeR").  | 
min.total.count | 
 Numeric. Minimum total count required ( used only if method = "edgeR").  | 
verbose | 
 Logical. Should number of removed genes be reported?  | 
RangedSummarizedExperiment-class
object with genes removed
data("se.probeset")
print(se.probeset)
## remove probesets with missing values
se.probeset.red = remove_genes(se = se.probeset,
                               assay = "exprs.log",
                               method = "missing",
                               freq = 0)
print(se.probeset.red)
## remove probesets with low expression
se.probeset.red = remove_genes(se = se.probeset,
                               assay = "detection.pvalue",
                               method = "detection.pvalue",
                               freq = 0.75)
print(se.probeset.red)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.