mikemc / phyloseqpp

Phyloseq extensions and functions for tidier analysis of microbiome data
Other
2 stars 0 forks source link

Add function for moving from a tidied (melted) data frame to a matrix #9

Open mikemc opened 5 years ago

mikemc commented 5 years ago

Usage would be something like

df <- psmelt(ps)
mat <- as_matrix(df, rows = Sample, cols = OTU)