find_taxa: Checks whether taxa from one taxonomy table are contained in...

View source: R/mock.R

find_taxaR Documentation

Checks whether taxa from one taxonomy table are contained in another table.

Description

This function takes two taxonomy tables, than looks for each sample of the first table in the second one.

Usage

find_taxa(taxa1, taxa2, level = "Species")

Arguments

taxa1

First taxonomy table.

taxa2

Second taxonomy table.

level

At which level to compare. Must be column name in both tables.

Value

A data frame with two columns. Has as many rows as unique values in level.

level

The unique values found for the specified taxa level.

found

A boolean indicating whether the taxa were found in the second table.

Examples

 NULL


Gibbons-Lab/mbtools documentation built on Jan. 28, 2024, 11:08 a.m.