asv_rename: Assign ASV identifiers to sequence variants

View source: R/asvrenamer.R

asv_renameR Documentation

Assign ASV identifiers to sequence variants

Description

The asv_rename function will assign unique ASV identifiers that are easy to each sequence variant and will write a tsv file to your working directory for a reference list of all ASV names.

Usage

asv_rename(x, file = file.path(getwd(), "ASVids.tsv"))

Arguments

x

The phyloseq object.

file

The path to the tsv generated file of sequence variant identifiers.

Value

x the modified phyloseq object.

Examples

library(mirlyn)
library(phyloseq)
data(GlobalPatterns)
## Not run: 
asv_rename(GlobalPatterns)

## End(Not run)


escamero/mirlyn documentation built on Aug. 6, 2023, 9:30 p.m.