Description Usage Arguments Value Examples
Change entrez IDs in path_gene and path_data into ensembl IDs. Will create two new dataframes with ensembl IDs and wikipathway information.
1 | gmtEnsembl(MAE, path_gene, path_data, orgDB)
|
MAE |
MultiAssayExperiment which will store the output of gmtEnsembl. It is recommended to use the same MAE object which contains output from dloadGmt. |
path_gene |
Dataframe with wikipathway IDs and entrezgene IDs. path_gene is from the dloadGmt function. It will be stored as an assay within the MAE used in the dloadGmt function. |
path_data |
Dataframe with wikipathway IDs, wikipathway names and entrezgene IDs. path_data is from the dloadGmt function. It will be stored as an assay within the MAE used in the dloadGmt function. |
orgDB |
Load the appropriate db package e.g. org.Hs.eg.db if human wikipathways are being used. |
2 dataframes. One containing wikipathway IDs and ensembl gene IDs, and the other containing wikipathway IDs, ensembl gene IDs and wikipathway names. Output will be stored as assays in the input MAE.
1 2 3 4 5 6 7 8 9 10 11 12 | library(org.Mm.eg.db)
data(mm_miR)
data(mm_mRNA)
MAE <- startObject(miR = mm_miR, mRNA = mm_mRNA)
MAE <- dloadGmt(MAE, species = "Mus musculus")
MAE <- gmtEnsembl(MAE = MAE, assay(MAE, 3),
assay(MAE, 5), org.Mm.eg.db)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.