View source: R/getDrugMatrix.R
getDrugMatrix | R Documentation |
Obtaining drug-disease reverse association score matrix.
getDrugMatrix(spw_matrix, drug_target_data, weighted.score)
spw_matrix |
A subpathway activity profile. rows are subpathwyas, columns are samples. |
drug_target_data |
A list. A list stores a collection of drug up- and down-regulated subpathways. |
weighted.score |
A binary value of 0 or 1. If the 'weighted.score' = 1, the drug reverse association score will be weighted by the subpathway activity. |
getDrugMatrix
A matrix.
Xudong Han, Junwei Han, Chonghui Liu
require(GSVA)
Geneexp<-get("GeneexpT")
UserDS<-get("UserDST")
UserGS<-get("UserGST")
gsvapar <- gsvaParam(Geneexp, UserGS)
spw_matrix<-gsva(gsvapar)
x<-getDrugMatrix(spw_matrix,UserDS,weighted.score=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.