Learn R Programming

GenoGAM (version 1.0.2)

view,GenoGAM-method: View the dataset

Description

Cbinding the columns all together and coercing to data.frame

Usage

"view"(object, ranges = NULL, seqnames = NULL, start = NULL, end = NULL)

Arguments

object
A GenoGAM object
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
gg <- makeTestGenoGAM()
gr <- GRanges("chrI", IRanges(1,40))
head(view(gg, gr))

Run the code above in your browser using DataLab