scatter {ELMER}R Documentation

scatter

Description

scatter

Usage

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


[Package ELMER version 2.12.0 Index]