filterGeneSets {GSVA} | R Documentation |
Filters gene sets through a given minimum and maximum set size.
## S4 method for signature 'list' filterGeneSets(gSets, min.sz=1, max.sz=Inf) ## S4 method for signature 'GeneSetCollection' filterGeneSets(gSets, min.sz=1, max.sz=Inf)
gSets |
Gene sets given either as a |
min.sz |
Minimum size. |
max.sz |
Maximum size. |
This function filters the input gene sets according to a given minimum and maximum set size.
A collection of gene sets that meet the given minimum and maximum set size.
J. Guinney
Hänzelmann, S., Castelo, R. and Guinney, J. GSVA: Gene set variation analysis for microarray and RNA-Seq data. BMC Bioinformatics, 14:7, 2013.
geneSets <- list(set1=as.character(1:4), set2=as.character(4:10)) filterGeneSets(geneSets, min.sz=5)