DNBcompute_custom | R Documentation |
Compute the Dynamic Network Biomarkers(DNB) model with customized Modules
DNBcompute_custom(
data,
module_list,
meta = NULL,
meta_levels = NULL,
force_allgene = TRUE,
size_effect = TRUE,
quiet = FALSE,
...
)
data |
input data, S4:DNB_output or gene expression matrix |
module_list |
a customized list of module gene |
meta |
a data.frame with rownames as cell-id as well as one column of group infomation, use if data is gene expression matrix |
meta_levels |
the order of meta group, default ordered by decreasing if NULL, use if data is gene expression matrix |
force_allgene |
whether force to use all genes from data, default TRUE |
size_effect |
whether consider the effect of sample size when compute CI of DNB, default TRUE |
quiet |
do not message |
... |
for future use |
input data from existing DNB_output object, or new data and meta
input customized modules from a list of gene set(s)
return a S3 object includes several S4 objects
S3:DNB_output
Kaiyu Wang, in ChenLab of CAS, Shanghai, China
data(data.example)
data(meta.example)
data(module_list.example)
b <- DNBcompute_custom(data.example, module_list.example, meta.example)
b
DNBplot(b, group = "USER_CUSTOMIZED", ranking = 1, show = TRUE, save_pdf = FALSE)
DNBplot(b, group = "USER_CUSTOMIZED", ranking = 1, show = TRUE, save_pdf = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.