Learn R Programming

bexy (version 0.1.3)

getSamplesWithThisKaryotype: 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)

Value

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

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'.

See Also

bexy

Examples

Run this code
bex <- bexy()
getSamplesWithThisKaryotype(bex, "XX")

Run the code above in your browser using DataLab