plot_lines: plot_lines

Description Usage Arguments Examples

View source: R/plot_lines.R

Description

plot total regulators versus ORFs per genome

Usage

1
2
3
4
5
6
7
8
9
plot_lines(
  data,
  type = "general",
  filename = "figure.tiff",
  title = "",
  ylab = "",
  ymin = 0,
  ymax = 200
)

Arguments

data

A data.frame object

type

either "general" or "groups" for plotting per phylogenetic group

filename

file name with .tiff extension

title

plot name inside " "

ylab

yLab name inside " "

ymin

A number setting the ylab inferior limit.

ymax

A number setting the ylab superior limit.

Examples

1
2
plot_lines(data = data_kos_sigma, type = "general", filename = "example_general.tiff", title = "Sigma factors", ylab = "Sigma factors per genome", ymax = 120)
plot_lines(data = data_kos_sigma, type = "groups", filename = "example_groups.tiff", title = "Sigma factors", ylab = "Sigma factors per genome", ymax = 120 )

josschavezf/erba documentation built on May 2, 2021, 7:33 a.m.