blocks-methods {rtracklayer}R Documentation

Get blocks/exons

Description

Obtains the block ranges (subranges, usually exons) from an object, such as a RangedData imported from a BED file.

Usage

blocks(x, ...)

Arguments

x

The instance from which to obtain the block/exon information. Currently must be a RangedData or GenomicRanges, presumably imported with import.bed or formatted with asBED.

...

Additional arguments for methods

Details

For the RangedData method, there must be two columns in x: blockStarts and blockSizes, each field of which should be a comma-separated list of block starts and widths, respectively. This comes from the BED specification.

Author(s)

Michael Lawrence

See Also

import.bed for importing a track from BED, which can store block information; asBED for coercing an interval dataset into a BED-like structure that can be passed to this function.


[Package rtracklayer version 1.14.1 Index]