Description Usage Arguments Value Examples
This function removes taxa from the slot @commdf@counts in the
epd.entity.df-class
object based on specific groups of taxa.
For example, the user can select to work only with pollen from trees and
shrubs (TRSH) or with algae (ALGA). If x
is an
epd.entity-class
object, this is first converted into a
epd.entity.df-class
with
entity_to_matrices
.
1 2 3 4 5 6 7 | filter_taxagroups(x, taxagroups)
## S4 method for signature 'epd.entity.df,character'
filter_taxagroups(x, taxagroups)
## S4 method for signature 'epd.entity,character'
filter_taxagroups(x, taxagroups)
|
x |
epd.entity Object of class |
taxagroups |
character Character vector indicating taxa groups to be selected. |
The function returns a epd.entity.df-class
with information on @commdf@counts
slot
only for taxa belonging to the specified taxa groups.
1 2 3 4 5 6 7 8 9 | ## Not run:
epd.connection <- connect_to_epd(host="localhost", database="epd",
user="epdr", password="epdrpw")
epd.1 <- get_entity(1, epd.connection)
epd.1.trsh <- filter_taxagroups(epd.1, "TRSH")
str(epd.1@commdf@counts)
str(epd.1.trsh@commdf@counts)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.