Description Usage Arguments Value See Also Examples
View source: R/ntpMakeTemplates.R
Reformats list of gene sets or results from
subDEG
into prediction templates for ntp
.
1 2 3 4 5 6 7 8 | ntpMakeTemplates(
geneSets,
resDEG = TRUE,
lfc = 1,
padj = 0.1,
topN = NULL,
verbose = getOption("verbose", FALSE)
)
|
geneSets |
list of vectors with gene identifiers (coerced to character). |
resDEG |
logical, if |
lfc |
numeric, log2fold-change threshold (only applicable if
|
padj |
numeric, p_{adj}-value threshold (only applicable if
|
topN |
integer, (maximum) number of genes per class. |
verbose |
logical, whether console messages are to be displayed. |
A data.frame formated as templates for ntp
.
1 2 3 | deg <- subDEG(crcTCGAsubset, crcTCGAsubset$CMS, doVoom=TRUE, sortBy="B")
tmp <- ntpMakeTemplates(deg, topN=25)
table(tmp$class)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.