cut_by_logit2NES | R Documentation |
This function trims the table of results from massiveGST function retaining the rows with a logit2NES below the specified threshold.
cut_by_logit2NES(ttable, logit2NES_threshold = 0.58)
ttable |
a data frame of "mGST" class coming from massiveGST function. |
logit2NES_threshold |
a real value |
A data frame.
the functions cut_by_NES, cut_by_logit2NES, and cut_by_significance can be nested.
Stefano M. Pagnotta
Cerulo, Pagnotta (2022) \Sexpr[results=rd]{tools:::Rd_expr_doi("10.3390/e24050739")}
massiveGST, cut_by_NES, cut_by_significance,
summary.mGST, plot.mGST
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
fname <- system.file("extdata", package="massiveGST")
fname <- file.path(fname, "h.all.v2024.1.Hs.symbols.gmt")
geneSets <- get_geneSets_from_local_files(fname)
# 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.