Learn R Programming

inveRsion (version 1.20.0)

getClassif-methods: Overall classification

Description

Classifies into inverted or non-inverted populations each chromosome in the sample.

Usage

getClassif(object, thBic, wROI, bin,geno,id,nmod)

Arguments

object
inversionList. List of inversions obtained from a chromosome scan.
thBic
numeric. BIC threshold above which significant segments are chosen for the final classification
wROI
numeric. ROI number from the list to select classification
bin
logic. Whether binary or continous classification is retrieved
geno
logic. Whether inversion genotype is retrieved
id
character. Vector of subject IDs
nmod
numeric. number of trial segments to be used in the classification counting from the trial segments with highest BIC downwards.

Value

numeric. Vector with values between 0 and 1 representing membership to the non-inverted and inverted population respectively.

Methods

signature(object = "inversionList")
for each of the inversions of the list, it returns the classification of each chromosome.

Details

The overall classification of chromosomes into inverted and non-inverted populations is given by the weighted average of the classifications obtained for each trial segment in the ROI, with BIC greater than thBic.

See Also

inversionList

Examples

Run this code
data(invList)
r<-getClassif(invList)
head(r)

Run the code above in your browser using DataLab