PrintOGSeqs: Print OG Sequences

Description Usage Arguments Value Examples

View source: R/PrintOGSeqs.R

Description

Print all protein sequences and annotations in a given OG

Usage

1
PrintOGSeqs(after_ortho, OG, fasta_dir, out_dir = NULL, outfile = "none")

Arguments

after_ortho

output from FormatAfterOrtho

OG

name of OG

fasta_dir

directory to fastas

out_dir

complete path to output directory

outfile

name of file that will be written to

Value

A fasta file with all protein sequences and ids for a given OG

Examples

1
2
3
4
5
6
7
8
## Not run: 
OG <- 'OG5_126968'
dir <- system.file('extdata', 'fasta_dir', package='MAGNAMWAR')
dir <- paste(dir,'/',sep='')

PrintOGSeqs(after_ortho_format, OG, dir)

## End(Not run)

MAGNAMWAR documentation built on May 2, 2019, 6:42 a.m.