Learn R Programming

taxlist (version 0.1.7)

summary: Print Overviews for taxlist Objects and their Content

Description

A method to display either an overview of the content of '>taxlist objects or an overview of selected taxa.

Usage

# S4 method for taxlist
summary(object, ConceptID, units="Kb", check_validity=TRUE,
	display="both", maxsum=5, secundum=NULL, ...)

Arguments

object

A '>taxlist object.

ConceptID

IDs of concepts to be displayed in the summary.

units

Character value indicating the units shown in the object's allocated space.

check_validity

Logical value indicating whether the validity of 'object' should be checked or not

display

Character value indicating the field to be displayed (see details).

maxsum

Integer indicating the maximum number of displayed taxa.

secundum

A character value indicating the column from slot 'taxonViews'

...

Further arguments passed to or from another methods.

Details

A general overview indicating number of names, concepts and taxon views included in '>taxlist objects. If argument 'ConceptID' is a vector with concept IDs or names to be matched by grepl, then a display of all names included in each concept will be produced. Alternative you can use taxon="all" in order to get the listing of names for all concepts included in the object (truncated to the input number of 'maxsum').

For summaries applied to concepts, there are three alternative displays of names using the argument 'display'. Use display="name" to show the value 'TaxonName', display="author" to show the value 'AuthorName' or display="both" to show both values. Such values are taken from slot 'taxonNames'.

For big objects it will be recommendet to set units="Mb" (see also object.size for further alternatives).

See Also

'>taxlist.

Examples

Run this code
# NOT RUN {
library(taxlist)
data(Easplist)

## summary of the object
summary(Easplist, units="Mb")

## summary for two taxa
summary(Easplist, c(51128,51140))

## summary for a name
summary(Easplist, "Acmella")

## summary for the first 10 taxa
summary(Easplist, "all", maxsum=10)
# }

Run the code above in your browser using DataLab