func_abun_crossproduct: Utility function to get community-wide function abundance...

View source: R/utils.R

func_abun_crossproductR Documentation

Utility function to get community-wide function abundance table

Description

Takes in table of function copy numbers across taxa and table of taxa abundances across samples. I.e., it represents the multiplication of the function copy numbers by the abundances of the taxa within each sample.

Usage

func_abun_crossproduct(func_tab, abun_tab)

Arguments

func_tab

data.frame object containing function copy numbers, with rows as functions and columns as taxa.

abun_tab

data.frame object containing taxonomic abundances across samples, with rows as taxa and columns as samples.

Value

data.frame representing the unnormalized community-wide abundances of functions across samples.


FuncDiv documentation built on March 31, 2023, 8:12 p.m.