View source: R/dseaPlotActmap.R
dseaPlotActmap | R Documentation |
Plot drug Activity Map
dseaPlotActmap(dsea, drugs, method = "GSEA", contr, nterms = 50, nfc = 20)
dsea |
drugs set enrichment analysis object as output of getActiveDSEA |
drugs |
a list of drugs enrichment stats and annotations the output of computePeturbEnrichment() |
method |
the computation methods of Enrichment, either using GSEA algorithm or the rank correlation. |
contr |
is a character string represent the two compared conditions(contrast) as it is provided from the fold-change matrix |
nterms |
integer |
nfc |
integer |
plot of drug activity map
# from the data-sets provided as examples within the package load the .rda files #DrugsAnnot, mDrugEnrich, mFC dsea = getActiveDSEA(mDrugEnrich, DrugsAnnot, mFC, contr = colnames(mFC)[1]) drugs= computePeturbEnrichment(mFC = mFC, mDrugEnrich = mDrugEnrich, DrugsAnnot = DrugsAnnot, methods = "GSEA", nprune = 250, contrast = NULL) dseaPlotActmap (dsea, drugs, method = "GSEA", contr=colnames(mFC)[1], nterms = 50, nfc=20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.