filter.whole.taxo: Get consensus taxonomy

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/filter.whole.taxo.R

Description

Given the taxonomy of multiple BLAST hits for a query sequence, provides the most likely tanoxomy for the query sequence taking BLAST percentage of identity values into account

Usage

1
filter.whole.taxo(whole.taxo)

Arguments

whole.taxo

data.frame containing BLAST results and taxonomy information. Can be produced by assign.whole.taxo

Details

The expected input data.frame must contain information about BLAST hits (particularly, a "pident" column with the percentage of identity) and seven additional columns containing the name of kingdom, phylum, class, order, family, genus, and species for every subject sequence.

Depending on the "pident" value, taxonomy for the subject sequence will be retained until species (if pident>=97), genus (97>pident>=90), family (90>pident>=85), order (85>pident>=80), family (80>pident>=75), or class (75>pident>=0). For taxonomic levels showing pident lower that these thresholds, "low_pident" is returned.

Value

a data.frame contining all the information provided in the input data.frame and seven additional columns containing the name of kingdom, phylum, class, order, family, genus, and species for this sequence after filtering by BLAST percentage of identity.

Author(s)

A. J. Muñoz-Pajares

See Also

get.majority.taxo,assign.whole.taxo

Examples

1
2
3
#data(ex_BLAST)
#TAXO <- assign.whole.taxo(ex_BLAST)
#FILT_TAXO <- filter.whole.taxo(TAXO)

sidier documentation built on June 25, 2021, 5:10 p.m.