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

View source: R/bexy.R

writePosteriorModeAutosomalTrisomiesR Documentation

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
)

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

Value

No return value, called for side effects.

See Also

bexy

Examples

bex <- bexy()
tf <- tempfile(fileext = ".txt")
writePosteriorModeAutosomalTrisomies(bex, "21", tf)

bexy documentation built on Sept. 11, 2024, 5:50 p.m.