view {GenoGAM}R Documentation

View the dataset

Description

Cbinding the columns all together and coercing to data.frame

Usage

view(object, ...)

## S4 method for signature 'GenomicTiles'
view(object, ranges = NULL, seqnames = NULL,
  start = NULL, end = NULL)

Arguments

object

A GenomicTiles object

...

Additional arguments

ranges

A GRanges object. Makes it possible to select regions by GRanges. Either ranges or seqnames, start and end must be supplied

seqnames

A chromosomes name. Either ranges or seqnames, start and end must be supplied

start

A start site. Either ranges or seqnames, start and end must be supplied

end

An end site. Either ranges or seqnames, start and end must be supplied

Value

A data.frame of the selected data.

Author(s)

Georg Stricker georg.stricker@in.tum.de

Examples

gt <- makeTestGenomicTiles()
gr <- GRanges(c("chrI", "chrII"), IRanges(c(1, 10), c(40, 30)))
head(view(gt, ranges = gr))
head(view(gt, seqnames = "chrI", start = 1, end = 20))

[Package GenoGAM version 1.8.0 Index]