Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


GenoGAM (version 1.0.2)

view: View the dataset

Description

Cbinding the columns all together and coercing to data.frame

Usage

view(object, ...)
"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.

Examples

Run this code
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))

Run the code above in your browser using DataLab