experiment_to_phyloseq: convert a uBiome experiment dataframe and mapping file to a...

Description Usage Arguments Value Examples

View source: R/actinoCSV.R

Description

Make a valid Phyloseq object out of a uBiome dataframe and a map file

Usage

1
experiment_to_phyloseq(experiment.df, mapfile, rank = "genus")

Arguments

experiment.df

dataframe representation of a uBiome experiment. Rows are unique ssrs.

mapfile

a dataframe with column 'ssr'

rank

(not used currently – just assumes everything is always just genus)

Value

a Phyloseq object

Examples

1
2
simple.df <- data.frame(tax_name=c("taxa1"),"1234"=c(2352))
simple.map <- data.frame(ssr=c(1234))

richardsprague/actino documentation built on Dec. 13, 2021, 6:12 a.m.