Description Usage Arguments Author(s) Examples
This is designed to view human genome with a chromsomal ideogram (HG19).
The plot function has a "chr" parameter,
which specify the specific chromosome to plot.
e.g. https://www.pinterest.com/pin/475411304393375351/
The plots includes
the regular 2D plot with a cytoband in the x-axis,
A digital SKY-Plot. This provides a view of the genome, with copy number alterations.
1 2 3 4 5 6 |
x |
A numeric vector for the location. |
y |
A numeric vector for copy numbers (or other informations, e.g. depth). |
chrWidth |
Indicate the width of the cytobands plotted at bottom. |
col |
A single numeric number of color code. |
... |
These parameters will be passed to plot function. |
CN |
CN is a data.frame, with 4 colums of startPos, endPos, copy number, minor allele copy number. |
grouping |
grouping should have length as x. It specifies which of the x belonging to which group. |
pch |
specify the shape of the brush for painting. |
type |
type of the dots. e.g. "l" for line, "p" for point. see par |
Wenhan Chen
1 2 | library(viewGenome)
runtest()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.