consensusSegments: Make consensus segments

View source: R/consensusSegments.R

consensusSegmentsR Documentation

Make consensus segments

Description

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

Usage

consensusSegments(hmms)

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

## 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)


ataudt/aneufinder documentation built on April 18, 2023, 4:20 a.m.