rnb.RnBSet.to.GRangesList: rnb.RnBSet.to.GRangesList

Description Usage Arguments Value Author(s) Examples

View source: R/dataExport.R

Description

convert an RnBSet object to a GRangesList object

Usage

1
2
3
4
5
rnb.RnBSet.to.GRangesList(
  rnb.set,
  reg.type = "sites",
  return.regular.list = FALSE
)

Arguments

rnb.set

Object of class RnBSet

reg.type

region type to be converted

return.regular.list

flag indicating whether a regular list object should be returned instead of a GRangesList. Might improve performance in some cases

Value

a GRangesList or list object with one list element (GRanges) for each sample in rnb.set

Author(s)

Fabian Mueller

Examples

1
2
3
4
library(RnBeads.hg19)
data(small.example.object)
logger.start(fname=NA)
result <- rnb.RnBSet.to.GRangesList(rnb.set.example)

RnBeads documentation built on March 3, 2021, 2 a.m.