View source: R/plot-genetic-dist.R
plotGeneticDist | R Documentation |
Plotting the calculated genetic distanced for each bin or marker interval supplied by the GRanges object
plotGeneticDist(gr, bin = TRUE, chr = NULL, cumulative = FALSE)
gr |
GRanges object with genetic distances calculated for marker intervals |
bin |
TRUE or FALSE, indicating whether the supplied GRange objecct is for binned interval |
chr |
the specific chrs selected to plot |
cumulative |
TRUE or FALSE, indicating whether it plots the bin-wise genetic distances or the cumulative distances |
ggplot2 plot
Ruqian Lyu
data(coCount)
dist_se <- calGeneticDist(coCount)
plotGeneticDist(SummarizedExperiment::rowRanges(dist_se))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.