Description Usage Arguments Details Author(s) References Examples
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.
1 2 | transposeRelAbund(x,
sample.id.col="SampleID")
|
x |
The relative abundance |
sample.id.col |
The Sample ID column name from data frame x. Default is "SampleID". |
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.
Geoffrey Hannigan <ghanni@upenn.edu>, Loesche MA, Hodkinson BP, Mehta S, Elizabeth Grice <egrice@upenn.edu>
patPRO: An R package for the visualization of longitudinal microbiome data. Hannigan GD, Loesche MA, Hodkinson BP, Mehta S, Grice EA.
1 2 | data("PatProOTU",package="patPRO")
transTestRelAbund <- transposeRelAbund(PatProOTU)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.