tidy.GRanges

0th

Percentile

Tidying methods for GRanges and GRangesList objects.

Tidying methods for GRanges and GRangesList objects.

Usage
"tidy"(x, ...)
"tidy"(x, ...)
"glance"(x, ...)
"glance"(x, ...)
Arguments
x
GRanges or GRangesList object
...
Not used.
Value

All tidying methods return a data.frame without rownames. tidy returns one row for each range, which contains
  • start of the range
  • end of the range
  • width (or length) of the range
  • names of the range
  • strand
  • seqname Name of the sequence from which the range comes (usually the chromosome)
  • metadata Any included metadata, (ie, score, GC content)
For GRangesList, there will also be a column representing which group the ranges comes from. glance returns a data.frame with the number of ranges, the number of sequences, and the number of groups (if applicable).

Aliases
  • glance.GRanges
  • glance.GRangesList
  • tidy.GRanges
  • tidy.GRangesList
Examples
if (require("GenomicRanges", "airway")) {
data(airway)

# GRangesList object
air_gr <- rowRanges(airway)

tidy(air_gr)
glance(air_gr)

# GRanges object
air_gr <- rowRanges(airway)@unlistData

tidy(air_gr)
glance(air_gr)


}
Documentation reproduced from package biobroom, version 1.4.2, License: LGPL

Community examples

Looks like there are no examples yet.