genbank2uid_tbl: A Wrapper function around taxize::genbank2uid.

Description Usage Arguments Value Examples

View source: R/blast_result_parser.R

Description

Given a ncbi gene bank accession alphanumeric string or a gi numeric string (x), it returns a tibble contaning ncbi taxonomy id, name and other related columns.

Usage

1

Arguments

x

vector of ncbi gene bank accession alphanumeric string, or a gi numeric string (x).

...

other parameters to be passed to taxize::genbank2uid.

Value

a tbl with colnames x, taxid, class, match, multiple_matches, pattern_match, uri, name

Examples

1
2
3
4
5
## Not run: 
x <- c("XP_022900619.1", "XP_022900618.1", "XP_018333511.1", "XP_018573075.1")
genbank2uid_tbl(x = x)

## End(Not run)

cparsania/phyloR documentation built on Aug. 6, 2020, 7:28 a.m.