browsePositions: Browse genomic positions

browsePositionsR Documentation

Browse genomic positions

Description

Genome browser-type plot of single-bp positions, e.g. VCF-like data.

Usage

browsePositions(object, ...)

## S4 method for signature 'ANY'
browsePositions(object, region = NULL)

## S4 method for signature 'GenomicRangesList'
browsePositions(object, region = NULL, plot = TRUE)

## S4 method for signature 'GenomicRanges'
browsePositions(object, region = NULL, plot = TRUE)

## S4 method for signature 'data.frame'
browsePositions(object, region)

Arguments

object

GPos, GenomicRangesList or data.frame: Genomic positions

...

not currently used.

region

GRanges or NULL: Plotting window.

plot

logical: Whether to produce a plot or return the plot data.

Details

browseFeatures can react to metadata columns: 'color', 'facet', 'score', 'shape'.

Value

ggplot or data.frame.

Examples

# TBA

MalteThodberg/tidyGenomeBrowser documentation built on Feb. 21, 2024, 8:39 p.m.