scatter {ELMER} | R Documentation |
scatter
scatter( meth, exp, legend.title = "Legend", category = NULL, xlab = NULL, ylab = NULL, ylim = NULL, dots.size = 0.9, title = NULL, correlation = FALSE, correlation.text.size = 3, color.value = NULL, lm_line = FALSE )
meth |
A vector of number. |
exp |
A vector of number or matrix with sample in column and gene in rows. |
legend.title |
Plot legend title |
category |
A vector of sample labels. |
xlab |
A character specify the title of x axis. |
ylab |
A character specify the title of y axis. |
ylim |
y-axis limit i.e. c(0,25) |
dots.size |
Control dots size |
title |
A character specify the figure title. |
correlation |
Show spearman correlation values |
correlation.text.size |
Correlation values |
color.value |
A vector specify the color of each category, such as |
lm_line |
A logic. If it is TRUE, regression line will be added to the graph. |
A ggplot figure object