FACETSwrapper: Transforms FACETS data and performs a joint segmentation

Description Usage Arguments Value Examples

View source: R/Facetswrapper.R

Description

Transforms FACETS data and performs a joint segmentation

Usage

1
FACETSwrapper(path, stat)

Arguments

path

The path to a directory containing FACETS data files (‘*.csv.gz’) produced by the facets package.

stat

"TCN" or "C1C2" parameter to segment the data. If stat == "TCN", the segmentation will be done on TCN only.

Value

A list which contains the breakpoints by chromosome and also the binning of TCN, C1, and C2.

Examples

1
2
3
4
5
6
7
8
9
if (require("facets", quietly=TRUE)) {
## Not run: 
path <- system.file("extdata", package = "facets")
segDat <- FACETSwrapper(path, stat = "TCN")
print(segDat)
resc3co <- c3co(NULL, segDat = segDat)

## End(Not run)
}

pneuvial/c3co documentation built on May 25, 2019, 10:21 a.m.