calcCumulativePartitionsRef: Calculates the cumulative distribution of overlaps for a...

View source: R/partition-plots.R

calcCumulativePartitionsRefR Documentation

Calculates the cumulative distribution of overlaps for a query set to a reference assembly

Description

This function is a wrapper for calcCumulativePartitions that uses built-in partitions for a given reference genome assembly.

Usage

calcCumulativePartitionsRef(query, refAssembly)

Arguments

query

A GenomicRanges or GenomicRangesList object with query regions

refAssembly

A character vector specifying the reference genome assembly (*e.g.* 'hg19'). This will be used to grab chromosome sizes with getTSSs.

Value

A data.frame indicating the number of query region overlaps in several genomic partitions.

Examples

calcCumulativePartitionsRef(vistaEnhancers, "hg19")

databio/GenomicDistributions documentation built on April 30, 2024, 4:34 a.m.