tableSpecies | R Documentation |
Tables the species in xml file
tableSpecies(xml, species=NULL, type="chr", minOutput=TRUE, exclude="",
locations=FALSE)
xml |
The xml file. |
species |
Restrict species to a certain set. |
type |
Filter option. |
minOutput |
Logical, should the output be minimal. |
exclude |
Names of species to exclude. |
locations |
Logical, shall the hit locations be given as well. |
Function provides a table of identified species. This table can e.g. be put into the barplot
function to visualize the findings.
Further, if the option locations
is set to TRUE
the function not only tables the species, but also the individual locations
of the hits. This output is required for the further steps. Hence, this function plays a important role in the identification pipeline.
Be default the option type="chr"
is set so that only hits in species will full genomes will be reported. Further, the species names
are intersected with the species
data frame and only those that appear there are reported.
A table
with the species from the XML file
Daniel Fischer
## Not run:
tableSpecies(xmls)
pigHits <- tableSpecies(xmls, species="Sus scrofa", locations = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.