plotWholeGenome: Plot cumulative genetic distances across the genome

View source: R/plot-genetic-dist.R

plotWholeGenomeR Documentation

Plot cumulative genetic distances across the genome

Description

This function takes the calculated genetic distances for all marker intervals across all chromosomes provided and plot the cumulative genetic distances

Usage

plotWholeGenome(gr)

Arguments

gr,

GRanges object with genetic distances calculated for marker intervals

Value

A ggplot object

Examples

data(coCount)
dist_se <- calGeneticDist(coCount)
plotWholeGenome(SummarizedExperiment::rowRanges(dist_se))

ruqianl/comapr documentation built on Oct. 27, 2023, 5:12 a.m.