getScaffoldsWithThisType: Getting all scaffolds classified as a specific scaffold type

View source: R/bexy.R

getScaffoldsWithThisTypeR Documentation

Getting all scaffolds classified as a specific scaffold type

Description

Getting all scaffolds classified as a specific scaffold type

Usage

getScaffoldsWithThisType(object, type, threshold_certainty = 0.9)

Arguments

object

A bexy object.

type

One specific scaffold type, can be Autosome, Y-linked, X-linked or Different.

threshold_certainty

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

Value

A character vector containing all scaffold names that are classified as the scaffold type given by argument 'type'.

See Also

bexy

Examples

bex <- bexy()
getScaffoldsWithThisType(bex, "X-linked")

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