readBismark-method: readBismark method

Description Usage Arguments Value Author(s) Examples

Description

reads BS-Seq data

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
readBismark(files, colData)

## S4 method for signature 'character,DataFrame'
readBismark(files, colData)

## S4 method for signature 'character,data.frame'
readBismark(files, colData)

## S4 method for signature 'character,character'
readBismark(files, colData)

Arguments

files

A character list

colData

Object of class "DataFrame" containing information on variable values of the samples

Value

A BSData-class object

Author(s)

Farhad Shokoohi <[email protected]>

Examples

1
2
3
4
5
6
7
fn <- list.files(system.file('extdata',package = 'DMCHMM'))
fn.f <- list.files(system.file('extdata',package='DMCHMM'), full.names=TRUE)
OBJ <- readBismark(fn.f, fn)
cdOBJ <- DataFrame(Cell = factor(c('BC', 'TC','Mono'),
labels = c('BC', 'TC', 'Mono')), row.names = c('BCU1568','BCU173','BCU551'))
colData(OBJ) <- cdOBJ
OBJ

shokoohi/DMCHMM documentation built on Sept. 1, 2017, 12:52 p.m.