subset_func_and_abun_tables {FuncDiv} | R Documentation |
Utility function to subset function copy number and taxonomic abundance tables
Description
The input tables will be returned except subset to the same taxa ids. Any functions and / or samples that are totally absent after this step will be dropped.
Usage
subset_func_and_abun_tables(func_table, abun_table, func_ids = NULL)
Arguments
func_table |
data.frame object containing function copy numbers, with rows as functions and columns as taxa. |
abun_table |
data.frame object containing taxonomic abundances across samples, with rows as taxa and columns as samples. |
func_ids |
optional character vector of function ids to retain (all other rows of |
Value
list containing subsetted function and abundance data.frames as separate elements.
[Package FuncDiv version 1.0.0 Index]