lightPlot: lightPlot

Description Usage Arguments Examples

View source: R/lightPlot.R

Description

Function to plot a particular region from a single chromosomes for a sample

Usage

1
2
3
lightPlot(cnv_file, from = NULL, to = NULL, chrom = NULL,
  ylim = c(-5, 5), tick = 1e+05, bp1 = NULL, bp2 = NULL,
  title = NULL, position = NULL)

Arguments

cnv_file

File to plot. [Required]

from

Start coordinate of plotting window [Default from=2950000 ]

to

End coordinate of plotting window [Default to=3400000]

chrom

Specify the chromosome to plot [Default 'X']

ylim

Adjust y axis limits in plot [Default ylim=c(-5,5)]

tick

Adjust spacing of ticks [Defualt 1Mb]

bp1

Draw a vertical line at given coordinate to mark bp1

bp2

Draw a vertical line at given coordinate to mark bp2

title

Plot title

Examples

1
regionPlot(cnv_file="data/w500/test.window-500.cnv", from=3050000, to=3450000, chrom="X", ylim=c(-7,7), bp1=3129368,bp2=3352041, tick=100000, title="222Kb DEL on X")

nriddiford/cnvPlotteR documentation built on Aug. 28, 2020, 5:31 a.m.