Learn R Programming

bexy (version 0.1.3)

getPosteriorModeAutosomalTrisomy: Getting the posterior mode for each autosomal trisomy

Description

Getting the posterior mode for each autosomal trisomy

Usage

getPosteriorModeAutosomalTrisomy(
  object,
  scaffoldName,
  threshold_certainty = 0.9
)

Value

A character vector containing the trisomy classification for each sample for the given scaffold

Arguments

object

A bexy object.

scaffoldName

The scaffold name, must be an autosome.

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()
getPosteriorModeAutosomalTrisomy(bex, "21")

Run the code above in your browser using DataLab