consensusSegments: Make consensus segments

Description Usage Arguments Details Value Examples

View source: R/consensusSegments.R

Description

Make consensus segments from a list of aneuHMM or aneuBiHMM objects.

Usage

1

Arguments

hmms

A list of aneuHMM or aneuBiHMM objects or a character vector of files that contains such objects.

Details

The function will produce a GRanges-class object using the GenomicRanges::disjoin function on all extracted $segment entries.

Value

A GRanges-class.

Examples

1
2
3
4
5
## Get results from a small-cell-lung-cancer
lung.folder <- system.file("extdata", "primary-lung", "hmms", package="AneuFinderData")
lung.files <- list.files(lung.folder, full.names=TRUE)
## Get consensus segments and states
consensusSegments(lung.files)

AneuFinder documentation built on Nov. 8, 2020, 7:44 p.m.