scatter: scatter

Description Usage Arguments Value

View source: R/Scatter.plot.R

Description

scatter

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
scatter(
  meth,
  exp,
  legend.title = "Legend",
  category = NULL,
  xlab = NULL,
  ylab = NULL,
  ylim = NULL,
  dots.size = 0.9,
  title = NULL,
  correlation = FALSE,
  color.value = NULL,
  lm_line = FALSE
)

Arguments

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 person 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.

Value

A ggplot figure object


ELMER documentation built on Nov. 8, 2020, 4:59 p.m.