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, presumably imported with import.bed.
... 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.


[Package rtracklayer version 1.4.1 Index]