Description Usage Arguments Value Author(s)
View source: R/coverage.plot.R
Plot the bin coverage in a genomic regions across samples. The files ('bc.f', 'norm.stats.f') must be ordered and indexed.
1 2 3 4 |
chr |
the chromosome |
start |
the start position of the region |
end |
the end position of the region |
bc.f |
the path to the bin count file. |
norm.stats.f |
the path to the normalization statistics file. |
sv.df |
the data.frame with the calls. |
ref.samples |
the names of the reference samples. |
boxplot |
should the reference be represented as boxplots. If FALSE, violin plots will be used. |
samples |
the set of samples to represent. |
files.df |
a data.frame with the path to the different files associated with each sample. If 'sample' is absent from 'bc.f' the correct file from 'files.df' will be used. Default is NULL. |
anno.df |
a data.frame with additional information (e.g. gene annotation) to be added to the graph. |
anno.col |
the name of 'anno.df' column to use to differentiate elements in the graph. E.g. 'geneName' to color the genes in the graph. |
flanks |
the size of the flanking region. Default is 10000. |
absolute.position |
should the bins be placed in absolute position. Default is TRUE. If FALSE, distant bins might be displayed next to each other if no bins are available in between (useful for targeted sequencing). |
nb.cores |
the number of cores to use. Default is 1. |
a ggplot object
Jean Monlong
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.