compareMethods: Compare copy number calling methods

Description Usage Arguments Value Author(s) Examples

View source: R/compareMethods.R

Description

Compare two sets of aneuHMM objects generated by different methods (see option method of findCNVs).

Usage

1
compareMethods(models1, models2)

Arguments

models1

A list of aneuHMM objects or a character vector with files that contain such objects.

models2

A list of aneuHMM objects or a character vector with files that contain such objects. IDs of the models must match the ones in models1.

Value

A data.frame with one column 'concordance' which gives the fraction of the genome that is called concordantly between both models.

Author(s)

Aaron Taudt

Examples

1
2
3
4
5
6
## Get a list of HMMs
folder <- system.file("extdata", "primary-lung", "hmms", package="AneuFinderData")
files <- list.files(folder, full.names=TRUE)
## Compare the models with themselves (non-sensical)
df <- compareMethods(files, files)
head(df)

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