taxa_report: taxa_report

Description Usage Arguments Details Examples

Description

Prepare a report for characters as a function of taxa

Usage

1
taxa_report(chars, taxa, file = "taxa_report.Rmd", meta = TRUE)

Arguments

chars

a data.frame containing samples (rows) and characters (columns).

taxa

a data.frame containing samples (rows) and a column of class factor named 'taxa' (groupings).

file

a character string giving the output file name.

meta

logical specifying whether the meta data should be printed.

Details

Prepare an RMarkdown report for characters.

Examples

1
2
3
4
data("iris")
rownames(iris) <- paste(iris$Species, 1:nrow(iris), sep="")
colnames(iris)[5] <- "taxa"
taxa_report( chars = iris[,-5], taxa = iris[ ,5, drop=FALSE] )

knausb/PlantMorph documentation built on May 20, 2019, 12:52 p.m.