read_q2metadata: read qiime2 metadata (.tsv)

View source: R/read_q2metadata.R

read_q2metadataR Documentation

read qiime2 metadata (.tsv)

Description

Loads a qiime2 metadata file wherein the 2nd line contains the #q2:types line dictating the type of variable (categorical/numeric)

Usage

read_q2metadata(file)

Arguments

file

path to the input file, ex: file="~/data/moving_pictures/table.qza"

Value

a data.frame wherein the first column is SampleID

Examples

## Not run: metadata<-read_q2metadata("q2metadata.tsv")

jbisanz/qiime2R documentation built on April 24, 2024, 5 p.m.