readGR: Make GenomicRanges Object

Description Usage Arguments Value Examples

Description

Creates a GenomicRanges file for a singular bisulfite sequencing data file

Usage

1
readGR(files, ids, n)

Arguments

files

A vector of files containing bisulfite sequencing data

ids

A vector of sample id's for the files

n

The index of the file vector to be read

Value

A GenomicRanges object containing pdr, epipolymorphism, and Shannon entropy values for the nth file

Examples

1
2
3
4
5
path = system.file('extdata', package = 'epihet')
files = dir(path = path, pattern = '\\.bam$',
            recursive = TRUE, full.names = TRUE)
ids = basename(dirname(files))
GR.Object = epihet::readGR(files = files, ids = ids, n = 3)

xiaowenchenjax/epihet documentation built on May 5, 2019, 9:20 a.m.