export_sequences: Export processed sequences as FASTA files

View source: R/03_similarity_searches.R

export_sequencesR Documentation

Export processed sequences as FASTA files

Description

Export processed sequences as FASTA files

Usage

export_sequences(seq = NULL, outdir = tempdir())

Arguments

seq

A processed list of AAStringSet objects as returned by process_input().

outdir

Path to output directory where FASTA files will be stored.

Value

Path to exported FASTA files.

Examples

# Load data
data(proteomes)
data(annotation)

# Process data
pdata <- process_input(proteomes, annotation)

# Export data
outdir <- file.path(tempdir(), "example_test")
export_sequences(pdata$seq, outdir)

almeidasilvaf/syntenet documentation built on Oct. 12, 2024, 5:51 p.m.