plotTargetheatmap {DrugSim2DR} R Documentation

## plotTargetheatmap

### Description

The function "plotTargetheatmap" is used to plot a heat map of drug targets expression.

### Usage

plotTargetheatmap(drugid,ExpData,label,significance=FALSE,
cluster.rows=FALSE,cluster.cols=FALSE,bk=c(-2.4,2.3),show.rownames=TRUE,


### Arguments

 drugid The drugbank ID of a drug. ExpData A gene expression profile of interest (rows are genes, columns are samples). label A character vector consists of "0" and "1" which represent sample class in the gene expression profile. "0" means normal sample and "1" means disease sample. significance This parameter controls whether the p-value of differential expression is displayed. cluster.rows Logical value that represents whether row clustering is used. cluster.cols Logical value that represents whether col clustering is used. bk This parameter adjusts the range of values displayed by the color bar. show.rownames This parameter controls whether row names are displayed. show.colnames This parameter controls whether column names are displayed. ann_colors Vector of colors used to define groups. col Vector of colors used in the heatmap.

### Value

A heat map of drug targets expression.

### Examples

# Obtain the example data
GEP<-Gettest("GEP")
label<-Gettest("label")
# Run the function
plotTargetheatmap("DB00780",GEP,label)


[Package DrugSim2DR version 0.1.0 Index]