plot_conlen: Plot CP gene contig length distribution

View source: R/plot_conlen.R

plot_conlenR Documentation

Plot CP gene contig length distribution

Description

plot_conlen generates length distribution for all the CP gene contigs across the input genome assemblies.

Usage

plot_conlen(
  outputType = "png",
  width = 700,
  height = 700,
  res = 150,
  xlab = "Contig Length",
  ylab = "Number of Contigs",
  title = " Contig Length Distribution",
  element_text_angle = 90,
  unit = "KB",
  breaks = 15,
  colorfill = "#F99245",
  cpgcov = 100,
  cpgpident = 100
)

Arguments

outputType

Output result file in pdf/tiff/jpeg/png format (default="tiff")

width

width of the device (default=700)

height

height of the device (default=700)

res

Nominal resolution in ppi (default=150)

xlab

Label on x-axis (default="Contig Length")

ylab

Label on y-axis (default="Number of Contigs")

title

Title of the plot (default=" Contig Length Distribution")

element_text_angle

Angle of element text(default=90),

unit

x-axis units KB/MB (default="KB")

breaks

Number of breaks (default=15)

colorfill

bar color (default= "#F99245")

cpgcov

CP gene coverage cutoff (default=100)

cpgpident

CP gene percentage identity with genomic sequence (default=100)

Examples


plot_conlen()
plot_conlen(outputType="tiff", width = 700, height = 700, res = 150, xlab="Contig Length", ylab="Number of Contigs", title=" Contig Length Distribution",element_text_angle=90,unit="KB", breaks=15, colorfill = "#F99245",cpgcov=100, cpgpident=100)

ramadatta/CPgeneProfiler documentation built on Jan. 9, 2025, 4:22 a.m.