curate_co_occurrence: Curate co-occurrence data. Function from the...

View source: R/curate_co_occurrence.R

curate_co_occurrenceR Documentation

Curate co-occurrence data. Function from the phylosmith-package.

Description

Used to curate a co-occurrence table from the co_occurrence function. Takes a list of taxa and finds all pairs containing any of those taxa.

Usage

curate_co_occurrence(co_occurrence_table, taxa_of_interest,
number_of_treatments = 1)

Arguments

co_occurrence_table

Table of the co-occurrence of taxa/genes in the phyloseq_obj, computed using co_occurrence.

taxa_of_interest

A list or vector of taxa names, like those generated with unique_taxa.

number_of_treatments

How many treatments should the taxa of interest be seen in? Requires integer or 'all' (default = 1).

Value

data.table

See Also

co_occurrence


schuyler-smith/phyloschuyler documentation built on March 27, 2024, 4:29 p.m.