View source: R/drugGeneResponseCurve.R
drugGeneResponseCurve | R Documentation |
This function generates a plot visualizing the relationship between gene expression, time and dose level for the selected tSet. The plot is generated with ggplot2 and can be customized using ggplot plot + function() syntax.
drugGeneResponseCurve( tSet, duration = NULL, cell_lines = NULL, mDataTypes = NULL, features = NULL, dose = NULL, drug = NULL, summarize_replicates = TRUE, line_width = 1, point_size = 2.5, ggplot_args = NULL, verbose = TRUE )
tSet |
|
duration |
|
cell_lines |
|
mDataTypes |
|
features |
|
dose |
|
drug |
|
summarize_replicates |
|
line_width |
|
point_size |
|
ggplot_args |
|
verbose |
|
Plot of the viabilities for each drug vs time of exposure
if (interactive()) { drugGeneResponseCurve(TGGATESsmall, dose = c("Control", "Low", "Middle"), mDataTypes="rna", drug = treatmentNames(TGGATESsmall)[1], duration = c("2", "8", "24"), features = "ENSG00000002726_at") }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.