View source: R/computePeturbEnrichment.R
computePeturbEnrichment | R Documentation |
Compute drug Enrichment, drugs activity or drugs sensitivity based on database and annotation provided as input parameter
computePeturbEnrichment( mFC, mDrugEnrich, DrugsAnnot, methods = c("GSEA", "cor"), nmin = 15, nprune = 0, contrast = NULL )
mFC |
= A matrix of differential gene expression fold-change of own experiment, the rows name of the matrix must be the genes names |
mDrugEnrich |
= a large matrix represents the gene expression fold change in the presence of different perturbations, either various drugs concentrations or other genetic engineering techniques as gene-knock-in etc.. |
DrugsAnnot |
=is matrix represents the drugs annotation that contains the targets, mechanism of action , clinical phase, disease area, and indication |
methods |
the computation methods of Enrichment, either using GSEA algorithm or the rank correlation. |
nmin |
the minimum number of drugs |
nprune |
takes only the (nprune) top matching drugs for each comparison to reduce the size of the matrix. default is 0 to take the full matrix |
contrast |
is a character string represent the two compared conditions(contrast) as it is provided from the fold-change matrix |
drugs a list of drugs enrichment stats and annotations
# from the data-sets provided as examples within the package load the .rda files # DrugsAnnot, mDrugEnrich, mFC drugs <- computePeturbEnrichment( mFC = mFC, mDrugEnrich = mDrugEnrich, DrugsAnnot = DrugsAnnot, methods = "GSEA", nprune = 250, contrast = NULL )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.