chr_coverage | R Documentation |
This function allows you to calculate the average signal (or coverage) per chromosome.
chr_coverage(wiggleData, meanNorm = FALSE, orderChrs = FALSE,
removeCen = FALSE, cenRegionSize = 50000)
wiggleData |
As a list of the 16 chr wiggle data (output of |
meanNorm |
Boolean indicating whether to normalize by average genome-wide
signal (calculated using function |
orderChrs |
Boolean indicating whether to order rows by chromosome length
(using function |
removeCen |
Boolean indicating whether to remove regions around centromeres
(using function |
cenRegionSize |
Number indicating the size (in bp) of the region to remove
(centered on the centromere of each chromosome). Corresponds to argument |
A 16x2 or 16x4 R data frame:
chr
Chromosome number
mean_coverage
average signal
If meanNorm=TRUE
the folowing two columns are added:
mean_sub_coverage
signal minus genome-wide average (chr_signal - genome_signal)
mean_div_coverage
signal divided by genome-wide average (chr_signal / genome_signal)
## Not run:
chr_coverage(WT)
chr_coverage(dot1, removeCen = TRUE, cenRegionSize = 50000)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.