add_taxa_to_hmmer_tbl: Add taxonomic information to a Data Frame obtained from HMMER...

View source: R/add_taxa_to_hmmer_tbl.R

add_taxa_to_hmmer_tblR Documentation

Add taxonomic information to a Data Frame obtained from HMMER with a "hits.taxid" column.

Description

Add taxonomic information to a Data Frame obtained from HMMER with a "hits.taxid" column.

Usage

add_taxa_to_hmmer_tbl(data, mode = "remote", rank_vc = NULL)

Arguments

data

An Data Frame obtained from search function.

mode

Either "local" or "remote". If "local" you will use a local database instead of remote resources. You will not have to download the database but it is slower.

rank_vc

A character vector containing the desired taxonomic ranks. If empty, all available taxonomic ranges will be retrieved.

Value

A Data Frame with new taxonomic parameters.

Examples

data(phmmer_2abl)
add_taxa_to_hmmer_tbl(
    data = phmmer_2abl,
    mode = "remote",
    rank_vc = NULL
)

currocam/HMMERutils documentation built on Feb. 15, 2023, 8:41 p.m.