plot_stack: 'Stacking plot with 10 maize chromosomes'

Description Usage Arguments Value

View source: R/plot_stack.R

Description

Stacking plot with 10 maize chromosomes

Usage

1
2
3
plot_stack(df, df2, chrlen = "data/ZmB73_RefGen_v2.length",
  centcsv = NULL, plotcol = "Dm", dorescale = FALSE,
  cols = list("red", rep(c("slateblue", "cyan4"), 5), "#ff7373"), ...)

Arguments

df

An input data.frame, with columns of chr and pos.

chrlen

The chr length file, tab delimited.

centcsv

Centeromere file, csv.

plotcol

The column name to plot.

dorescale

Whether to do rescale or not. Default=FALSE.

cols

A list of cols, cols[[1]], cent box; cols[[2]], chr; cols[[3]], highlight.

...

Other parameters will pass to points().

Value

return a plot.


yangjl/huskeR documentation built on Sept. 2, 2021, 5:38 a.m.