Skip to contents

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

fpath <- system.file("extdata/qiime", "sample-metadata.tsv", package = "bubbler")
is_q2metadata(fpath)
#> [1] TRUE