cut_by_logit2NES {massiveGST} | R Documentation |
Trim the table of results.
Description
This function trims the table of results from massiveGST function retaining the rows with a logit2NES below the specified threshold.
Usage
cut_by_logit2NES(ttable, logit2NES_threshold = 0.58)
Arguments
ttable |
a data frame of "mGST" class coming from massiveGST function. |
logit2NES_threshold |
a real value |
Value
A data frame.
Note
the functions cut_by_NES, cut_by_logit2NES, and cut_by_significance can be nested.
Author(s)
Stefano M. Pagnotta
References
Cerulo, Pagnotta (2022) doi:10.3390/e24050739
See Also
massiveGST, cut_by_NES, cut_by_significance,
Examples
library(massiveGST)
# get the gene profile
fname <- system.file("extdata", package="massiveGST")
fname <- file.path(fname, "pre_ranked_list.txt")
geneProfile <- get_geneProfile(fname)
# get the gene-sets
geneSets <- get_geneSets_from_msigdbr(category = "H", what = "gene_symbol")
# run the function
ans <- massiveGST(geneProfile, geneSets, alternative = "two.sided")
head(ans)
cut_by_logit2NES(ans)
cut_by_logit2NES(cut_by_significance(ans))
plot(cut_by_logit2NES(ans))
[Package massiveGST version 1.2.3 Index]