Learn R Programming

bexy (version 0.1.3)

writePosteriorModeAutosomalTrisomies: Write a file with the posterior mode for each autosomal trisomy

Description

Write a file with the posterior mode for each autosomal trisomy

Usage

writePosteriorModeAutosomalTrisomies(
  object,
  scaffoldName,
  file,
  threshold_certainty = 0.9
)

Value

No return value, called for side effects.

Arguments

object

A bexy object.

scaffoldName

The scaffold name, must be an autosome.

file

The name of the output file.

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()
tf <- tempfile(fileext = ".txt")
writePosteriorModeAutosomalTrisomies(bex, "21", tf)

Run the code above in your browser using DataLab