optimize: Optimal Coverage and Identity Thresholds

Description Usage Arguments Value Author(s) See Also

Description

For a given locus, get threshold values for minimum coverage and minimum identity that allow to include at least one sequence of every species in the database.

Usage

1
2
3
optimizeCoverage(x, discard = 0, quiet = FALSE, plot = FALSE)

optimizeIdentity(x, discard = 0, quiet = FALSE, plot = FALSE)

Arguments

x

an object of class megapteraProj.

discard

integer, giving the number of species to ‘sacrifice’; e.g. if discard = 2, the threshold value is chosen such that all but two species will be selected for the final alignment.

quiet

logical, indicating if screen output should be suppressed.

plot

logical:

Value

a list with three elements:

current

current threshold value

suggested

suggest threshold value to include all species

ranking

maximum identity/coverage values for each species in ascending order

Author(s)

Christoph Heibl

See Also

locus, locusRef


heibl/megaptera documentation built on Jan. 17, 2021, 3:34 a.m.