powered by
Obtaining drug-disease reverse association score matrix.
getDrugMatrix(spw_matrix, drug_target_data, weighted.score)
A matrix.
A subpathway activity profile. rows are subpathwyas, columns are samples.
A list. A list stores a collection of drug up- and down-regulated subpathways.
A binary value of 0 or 1. If the `weighted.score` = 1, the drug reverse association score will be weighted by the subpathway activity.
Xudong Han, Junwei Han, Chonghui Liu
getDrugMatrix
require(GSVA) Geneexp<-get("GeneexpT") UserDS<-get("UserDST") UserGS<-get("UserGST") spw_matrix<-gsva(Geneexp,UserGS,verbose=FALSE) x<-getDrugMatrix(spw_matrix,UserDS,weighted.score=FALSE)
Run the code above in your browser using DataLab