View source: R/abundance_lines.R
| abundance_lines | R Documentation | 
Inputs a phyloseq-class object and
creates line graphs with points across samples.
abundance_lines(phyloseq_obj, treatment, subset = NULL,
classification = NULL, relative_abundance = FALSE, points = TRUE,
colors = 'default', treatment_labels = NULL, sample_labels = NULL,
classification_labels= NULL)
phyloseq_obj | 
 A   | 
treatment | 
 Column name as a string or number in the
  | 
subset | 
 A factor within the   | 
classification | 
 Column name as a string or number in the
  | 
relative_abundance | 
 If   | 
points | 
 if   | 
colors | 
 Name of a color set from the RColorBrewer package or a vector palette of R-accepted colors.  | 
treatment_labels | 
 a vector of names to be used as labels for treatments/facets.  | 
sample_labels | 
 a vector of names to be used as labels for Samples.  | 
classification_labels | 
 a vector of names to be used as labels for the taxonomic classifications.  | 
ggplot-object
abundance_lines(soil_column, classification = 'Phylum',
treatment = c('Matrix', 'Treatment'), relative_abundance = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.