transposeRelAbund: Transpose a Data Frame.

Description Usage Arguments Details Author(s) References Examples

Description

This function will transpose a data frame, with the result maintained as a data frame (unlike other functions which work with matrices). Although this was written with relative abundance tables in mind, it may be applied to other data frame types.

Usage

1
2
transposeRelAbund(x, 
	sample.id.col="SampleID")

Arguments

x

The relative abundance data.frame (or other type of data.frame) to be transposed.

sample.id.col

The Sample ID column name from data frame x. Default is "SampleID".

Details

Package: patPRO
Type: Package
Version: 1.0.0
Date: 2015-09-18
License: GPLv3

An overview of how to use the package, including the most important functions, is included in the supplemental R notebook patPROExampleWorkflow.html.

Author(s)

Geoffrey Hannigan <ghanni@upenn.edu>, Loesche MA, Hodkinson BP, Mehta S, Elizabeth Grice <egrice@upenn.edu>

References

patPRO: An R package for the visualization of longitudinal microbiome data. Hannigan GD, Loesche MA, Hodkinson BP, Mehta S, Grice EA.

Examples

1
2
data("PatProOTU",package="patPRO")
transTestRelAbund <- transposeRelAbund(PatProOTU)

patPRO documentation built on May 1, 2019, 10:56 p.m.