Description Usage Arguments Value Author(s)
Display a chromosome view of the CNVs across samples
1 2 3 |
cnv.df |
a data.frame with the CNVs (columns 'chr', 'start', 'end') for each sample (column 'sample') |
type |
the type of graph to display. 'stacked' (default) shows the frequency line-graph across the chromosome. 'sample' shows a heatmap with each row representing one sample. |
bin.size |
the bin size. Default is 1e6. |
chr.df |
a data.frame with the chromosome boundaries. |
showSampleNames |
should the sample names be displayed. Default is FALSE (it quickly becomes unreadable). |
chr.prefix |
Is there a 'chr' prefix in the chromosome names. Default is FALSE |
chr.position |
How should the chromosome be arranged. Default is 'vertical', other option is 'packed'. |
show.all.chr |
Should all the chromosomes be displayed (even if no CNVs) ? Default is FALSE, i.e. only chr with CNVs are displayed. |
a ggplot graph object
Jean Monlong
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.