Description
Hi,
Thanks for all the work on this tool. I am having trouble getting results for DrugScore function. I tried a few other tissue types including breast, kidney, lymphatic tissue and they seemed also return 0 and NAN in DrugScore function.
My code is below
#Drug repurposing using drugs/compounds
Gene.list<-readRDS("TNBC_genelist_limma.rds")
my_gene_info<-read.table(file="DrugReference/skin_gene_info.txt",sep="\t",header = T,quote = "")
my_drug_info<-read.table(file="DrugReference/skin_drug_info.txt",sep="\t",header = T,quote = "")
cmap.ref.profiles<-GetDrugRef(drug.response.path = 'DrugReference/skin_rankMatrix.txt',
probe.to.genes = my_gene_info, drug.info = my_drug_info)
Drug.ident.res = GetDrug(gene.data = Gene.list, drug.ref.profiles = cmap.ref.profiles, repurposing.unit = "drug", connectivity = "negative", drug.type="all")
saveRDS(Drug.ident.res,file="TNBC_drugs_limma_all.rds")
#Drug/compound score
library(cmapR)
SC.integrated<-readRDS("TNBC_SCdata.rds")
Gene.list<-readRDS("TNBC_genelist_limma.rds")
Drug.ident.res<-readRDS("TNBC_drugs_limma_all.rds")
GSE92742.gctx.path="./Lincs/GSE92742_Broad_LINCS_Level5_COMPZ.MODZ_n473647x12328.gctx"
GSE70138.gctx.path="./Lincs/GSE70138_Broad_LINCS_Level5_COMPZ_n118050x12328_2017-03-06.gctx"
Tissue="breast"
Drug.score<-DrugScore(SC.integrated=SC.integrated,
Gene.data=Gene.list,
Cell.type=NULL,
Drug.data=Drug.ident.res,
FDA.drug.only=F,
Case=Case,
Tissue="breast",
GSE92742.gctx=GSE92742.gctx.path,
GSE70138.gctx=GSE70138.gctx.path)