Description Usage Arguments Value Examples
View source: R/lilikoi.KEGGplot.R
Visualizes selected pathways based on their metabolites expression data.
1 2 3 4 5 6 7 8 9 | lilikoi.KEGGplot(
metamat,
sampleinfo,
grouporder,
pathid = "00250",
specie = "hsa",
filesuffix = "GSE16873",
Metabolite_pathway_table = Metabolite_pathway_table
)
|
metamat |
metabolite expression data matrix |
sampleinfo |
is a vector of sample group, with element names as sample IDs. |
grouporder |
grouporder is a vector with 2 elements, the first element is the reference group name, like 'Normal', the second one is the experimental group name like 'Cancer'. |
pathid |
character variable, Pathway ID, usually 5 digits. |
specie |
character, scientific name of the targeted species. |
filesuffix |
output file suffix |
Metabolite_pathway_table |
Metabolites mapping table |
Pathview visualization output
1 2 3 4 5 6 7 8 9 10 11 | dt <- lilikoi.Loaddata(file=system.file("extdata",
"plasma_breast_cancer.csv", package = "lilikoi"))
Metadata <- dt$Metadata
dataSet <- dt$dataSet
metamat <- Metadata[, -1]
sampleinfo <- Metadata$Label
names(sampleinfo) <- rownames(Metadata)
grouporder <- unique(Metadata$Label)
lilikoi.KEGGplot(metamat, sampleinfo, grouporder, pathid = '00250',
specie = 'hsa',filesuffix = 'GSE16873')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.