ps_select | R Documentation |
Simple selection of phyloseq sample_data variables, might be useful for printing reduced sample_data, or inside other functions
ps_select(ps, ...)
ps |
phyloseq with sample_data |
... |
passed straight to dplyr::select |
phyloseq object
library(phyloseq)
library(dplyr)
data("enterotype", package = "phyloseq")
head(sample_data(enterotype))
enterotype %>%
ps_select(!contains("Sample")) %>%
sample_data() %>%
head()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.