getDrugMatrix {SubtypeDrug} | R Documentation |
SubtypeDrug internal function
Description
Obtaining drug-disease reverse association score matrix.
Usage
getDrugMatrix(spw_matrix, drug_target_data, weighted.score)
Arguments
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. |
Details
getDrugMatrix
Value
A matrix.
Author(s)
Xudong Han, Junwei Han, Chonghui Liu
Examples
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)
[Package SubtypeDrug version 0.1.9 Index]