getSamplesWithThisKaryotype {bexy}R Documentation

Getting all samples classified as a specific sex karyotype

Description

Getting all samples classified as a specific sex karyotype

Usage

getSamplesWithThisKaryotype(object, karyotype, threshold_certainty = 0.9)

Arguments

object

A bexy object.

karyotype

One specific sex karyotype, can be XY, XX, X0, XXY, XYY, XXX or XXYY.

threshold_certainty

The threshold for certainty on the posterior probabilities. All samples that have a posterior probability less than this threshold are classified as 'uncertain'.

Value

A character vector containing all sample names that are classified as the sex karyotype given by argument 'karyotype'.

See Also

bexy

Examples

bex <- bexy()
getSamplesWithThisKaryotype(bex, "XX")

[Package bexy version 0.1.2 Index]