shipunov (version 1.5)

Is.tax.inform.char: Taxonomic informativeness

Description

Is the character potentially taxonomically informative?

Usage

Is.tax.inform.char(vec)

Arguments

vec

Character vector from the column of DNA alignment

Value

Number of the potentially taxonomically informative characters.

Details

Is the character potentially taxonomically informative?

If DNA encoding used, 'Nn?' should be converted into NA. Gaps ('-') counted, NAs not.

Examples

Run this code
# NOT RUN {
Is.tax.inform.char(c("A", "C", "T", "T", "T", "T", "A"))
Is.tax.inform.char(c("A", "C", "T", "T", "T", "T", "G"))
Is.tax.inform.char(c("-", "T", "T", "T", "T", "T", "-", NA))
Is.tax.inform.char(c("A", "T", "T", "T", "T", "T", NA, NA))
Is.tax.inform.char(c(1, 0, 1, 1, 0, 0, 0, 0))
# }

Run the code above in your browser using DataLab