phyloseq_list_ord_dfs: Converting ordination objects to data.frames

Description Usage Arguments Value Examples

View source: R/BD_ordinations.R

Description

For each ordination object in a list, converts to a data.frame for easy plotting with ggplot

Usage

1
phyloseq_list_ord_dfs(physeq_l, physeq_l_ords, parallel = FALSE)

Arguments

physeq_l

A list of phyloseq objects

physeq_l_ords

A list of ordination objects

parallel

Parallel processing. See plyr::adply for more information.

Value

List of data.frame objects

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(physeq_S2D2_l)
## Not run: 
# make a list of beta diversity distance matrix objects
physeq_S2D2_l_d = physeq_list_betaDiv(physeq_S2D2_l)
# make a list of ordinations
physeq_S2D2_l_d_ord = physeq_list_ord(physeq_S2D2_l, physeq_S2D2_l_d)
# convert ordination information to data.frame objects
physeq_S2D2_l_d_ord_df = phyloseq_list_ord_dfs(physeq_S2D2_l, physeq_S2D2_l_d_ord)

## End(Not run)

HTSSIP documentation built on Sept. 14, 2019, 1:02 a.m.