Description Usage Arguments Examples
Function to plot a particular region from a single chromosomes for a sample
1 2 3 |
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 |
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.