Description Usage Arguments Value Examples
The function ResolveNames
interacts with the TNRS server at iPlant that uses fuzzy name matching to find standardized taxonomic plant names. GetPhylotasticToken
is similar, but can be used for animal taxa as well, since it also utilizes the NCBI and ITIS databases. GetPhylotasticToken
returns a unique token that can be checked online or using the RetrieveTNRSNames
function. CompareTNRS
will compare the original list of names to the returned TNRS names to see which names changed.
1 2 3 4 5 | ResolveNames(names, max.per.call=100, verbose=TRUE)
GetPhylotasticToken(names, max.per.call=100, verbose=TRUE)
RetrieveTNRSNames(names, token, source=c("iPlant_TNRS", "NCBI"),
match.threshold=0.5, verbose=FALSE)
CompareNames(old.names, new.names, verbose=TRUE)
|
names |
Vector of names to be resolved via TNRS |
max.per.call |
The number of names to submit at a time, default is 100 |
verbose |
Optional screen output that displays all of the results from the api |
token |
Unique identifier from the GetPhylotasticToken function used to retrieve names |
source |
Which source to utilize to check names |
match.threshold |
Threshold to accept new name |
old.names |
Original names |
new.names |
Returned TNRS names |
Vector of taxonomic names for ResolveNames
and RetrieveTNRSNames
. Unique identifier (=token) for GetPhylotasticToken
1 2 3 4 5 6 7 8 9 10 | data(DNA.fasta)
speciesNames <- names(DNA.fasta)
#Taxonomic name checking by iPlant TNRS
## Not run: TNRSspeciesNames <- ResolveNames(speciesNames, 100, verbose=F)
#Taxonomic name checking by Phylotastic Taxosaurus
token <- GetPhylotasticToken(speciesNames)
TNRSSpeciesNames <- RetrieveTNRSNames(speciesNames, token, "NCBI")
CompareNames(speciesNames, TNRSSpeciesNames, verbose=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.