is_q2metadata: checks if metadata is in qiime2 (.tsv)

View source: R/is_q2metadata.R

is_q2metadataR Documentation

checks if metadata is in qiime2 (.tsv)

Description

Checks to see if a file is in qiime2 metadata format, ie contains #q2:types line dictating the type of variable (categorical/numeric)

Usage

is_q2metadata(file)

Arguments

file

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

Value

TRUE/FALSE

Examples

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

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