This function allows user to load in the CMap drug rank matrix user downloaded from CMap website: https://portals.broadinstitute.org/cmap/ (data matrix in the "downloads" section).
1 | get.cmap.ref(cmap.data.path = NULL, probe.to.genes = NULL, drug.info = NULL)
|
cmap.data.path |
The local path and the name of the downloaded data matrix file. The data matrix file should be in txt format. |
probe.to.genes |
The ID converter between Affymetrix probe IDs (the IDs used in CMap data matrix) and official gene symbol. The packge comes with an embeded probe.to.genes file that can be directly used. User can use their own converter file with two columns named "ID", and "Gene.Symbol'. |
drug.info |
The drug instance information from CMap data. The deafault drug.info file comes with DrInsight package. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.