getCandidates-VarianceFilter-method: Get candidate genes using the variance filter

getCandidates,VarianceFilter-methodR Documentation

Get candidate genes using the variance filter

Description

Get candidate genes using the variance filter

Usage

## S4 method for signature 'VarianceFilter'
getCandidates(obj)

Arguments

obj

An object of class VarianceFilter

Value

A vector containing all genes with variances less than the target gene

See Also

VarianceFilter

Other getCandidate Methods: getCandidates,FootprintFilter-method, getCandidates,GeneOntologyFilter-method, getCandidates,HumanDHSFilter-method, getCandidates()

Examples


# Using the included Alzheimer's dataset, filter out only those transcription factors with variance
# within 50% of the variance of MEF2C
load(system.file(package="trena", "extdata/ampAD.154genes.mef2cTFs.278samples.RData"))
variance.filter <- VarianceFilter(mtx.assay = mtx.sub, targetGene = "MEF2C")
tfs <- getCandidates(variance.filter)

PriceLab/TReNA documentation built on March 21, 2023, 1:57 p.m.