Description Usage Arguments Author(s) See Also Examples
This function generates autosome (chr1-22) CNV plot of given sample, by connecting CNV values of all the chromosomes
1 2 3 4 5 6 |
data.name |
an object of |
sample.name |
character of selected sample name |
chr.Len.vec |
a numerical vector recording length of 22 chromosomes |
capture.only |
a logical value indicating if only captured exons should be outputted |
min.ref.avgRPKM |
minimum normalized coverage of output exons |
ref.avg.method |
a character indicating if exon-level "median" or "mean" coverage information should be outputted in the table |
ylim |
the y limits of the plot |
cex |
plot expansion factor relative to current |
xlab |
a title for the x axis |
ylab |
a title for the y axis |
color.vec |
a character vector of colors used to draw CNV of different chromosomes |
... |
other graphical parameters (see |
Chen Wang
plot CNV results of given chromosome plotChrCNV
1 2 3 4 5 6 7 8 9 | #=== load simulated data with pre-computed coverage and CNV
data(sim.cnvData)
#=== load a numeric vector "hg19.Chr_length_vec" recording length of 22 autosome
data("hg19.Chr_length_vec",package="patternCNV")
#=== plot whole-exome CNV of sample "n3"
#=== only part of chr-22 is expected to be seen as this is according to the simulation
plotAutosomeCNV(sim.cnvData,"n3",hg19.Chr_length_vec)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.