exportFA: Exporting a Fasta File.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/exportFA.R

Description

This function exports a standard fasta file.

Usage

1

Arguments

fa

An fa object.

file

Specifies the filename/path.

Details

This function exports a fa object to a standard fasta file. If no filename is given, the variable name will be used instead.

Value

A fasta file.

Author(s)

Daniel Fischer

See Also

print.fa, summary.fa, importFA

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
novelBed <- data.frame(Chr=c(11,18,3),
                         Start=c(72554673, 62550696, 18148822),
                         End=c(72555273, 62551296, 18149422),
                         Gene=c("LOC1", "LOC2", "LOC3"))

myFasta <- getFastaFromBed(novelBed, species="Bos taurus", 
+                          fastaFolder="/home/daniel/fasta/")

exportFA(myFasta, file="myFasta.fa")

## End(Not run)

hoardeR documentation built on May 29, 2017, 11:04 a.m.