PlotClassify {HetSeq} | R Documentation |
Plot Heterogeneity-seq Classifier Results
Description
This plotting functions creates AUC Scatter plots to visualize Classifier Results.
Usage
PlotClassify(
table,
highlights = NULL,
highlights.color = NULL,
auc.cutoff = NULL,
plot.baseline = TRUE,
density.color = TRUE,
density.n = 500,
point.scale = 0.5,
xlab = "AUC",
ylab = bquote(log[2] ~ FC ~ (`0h`)),
linetype = "dashed"
)
Arguments
table |
Table from HetSeq using the Classifier method. |
highlights |
A vector of genes to highlight in the plot. |
highlights.color |
A vector of colors for gene highlights. |
auc.cutoff |
Inserts a vertical line at the cutoff AUC value. |
plot.baseline |
Inserts a vertical line at the baseline AUC value (= AUC of the classifier with basefeatures but no further gene info). |
density.color |
Color data points by density. Default is TRUE. |
density.n |
Set granularity of 2d density color. |
point.scale |
Set point size. |
xlab |
Set label of the x-axis. |
ylab |
Set label of the y-axis. |
linetype |
Set the linetype of the baseline AUC line. |
Value
ggplot object.
Examples
tab <- HetseqClassify(data, trajectories, score.name = "score")
PlotClassify(tab, highlights=c("MYC", "GAPDH", "ISG15"))
[Package HetSeq version 0.1.0 Index]