clean: Clean Orphaned Records

Description Usage Arguments Details Value Author(s) Examples

Description

Manipulation of slots may generate orphaned entries in taxlist objects. The function 'clean' deletes such entries and restores the consistency of the objects.

Usage

1
2
## S4 method for signature 'taxlist'
clean(object, ...)

Arguments

object

A taxlist object.

...

Further arguments passed from or to other methods.

Details

Cleaning of objects will follow the deletion of:

Value

A clean taxlist object.

Author(s)

Miguel Alvarez, [email protected].

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(taxlist)
data(Easplist)

## Direct manipulation of slot taxonRelations generates an invalid object
Easplist@taxonRelations <- Easplist@taxonRelations[1:5,]
summary(Easplist)

## Now apply cleaning
Easplist <- clean(Easplist)
summary(Easplist)

taxlist documentation built on July 2, 2018, 1:03 a.m.