getInv-methods: gets "scan" into a matrix

Description Usage Arguments Details Value Methods Examples

Description

Each row of the matrix represents a trial segment of fixed window size, for which the inversion model has been fit. It lists the left and right brake-points and output of the fitting: Log-likelihood ratio, probability of inversion, entropy, BIC (Bayes Information Criterion) and number of haplotypes.

Usage

1
getInv(object, thBic, rnd, Like)

Arguments

object

scan. Cromosome scanned for inversions with trial segments of fixed window size.

thBic

numeric. BIC threshold above which data is retrieved.

rnd

logic. Whether round matrix elements.

Like

numeric. Log-likelihood ratio threshold above which data is retrieved.

Details

Matrix with output of scanInv. Each row corresponds to a trail segments with given brake points and significance measures for the inversion model.

Value

matrix.

Methods

signature(object = "scan")

returns matrix with output of inversion model for each trial segment

Examples

1
2
3
data(scanRes)
a<-getInv(scanRes,thBic=2500)
a

inveRsion documentation built on Nov. 8, 2020, 5:08 p.m.