Skip to contents

Write a 2 column taxonomy file

Usage

write_taxonomy(data, filename = NULL)

Arguments

data

a strollur object

filename

a string containing the name of the output file. Default = 'dataset_name'.taxonomy

Value

name of taxonomy file

Examples


miseq <- strollur::miseq_sop_example()
#> Added 2425 sequences.
#> Assigned 2425 sequence abundances.
#> Assigned 2425 sequence taxonomies.
#> Assigned 531 otu bins.
#> Assigned 2425 asv bins.
#> Assigned 63 phylotype bins.
#> Assigned 19 samples to treatments.
#> Assigned 171 samples distances.
#> Assigned 531 otu bin taxonomies.
#> Assigned 531 otu bin representative sequences.
#> Added a metadata report.
#> Added 2 resource references.
#> Added a contigs_report report.
strollur::write_taxonomy(miseq, tempfile())
#> [1] "/tmp/RtmpwFFDh8/file1e137692c6b2"