filter_exp_by_quant_mean_FC: Select genes with variations above a threshold

Description Usage Arguments Value Examples

View source: R/filter_by_quantile.R

Description

For each gene, compares the mean gene expression levels in samples in high expression (Q4) vs. samples with low gene expression (Q1), and requires the fold change to be above a certain threshold.

Usage

1
filter_exp_by_quant_mean_FC(exp, fold.change = 1.5, cores = 1)

Arguments

exp

Gene expression matrix or SumarizedExperiment object

fold.change

Threshold for fold change of mean gene expression levels in samples with high (Q4) and low (Q1) gene expression levels. Defaults to 1.5.

cores

Number of CPU cores to be used in the analysis. Default: 1

Value

A subset of the original matrix only with the rows passing the filter threshold.

Examples

1
2
3
4
data("gene.exp.chr21.log2")
gene.exp.chr21.log2.filtered <- filter_exp_by_quant_mean_FC(
  gene.exp.chr21.log2
)

MethReg documentation built on Nov. 8, 2020, 8:01 p.m.