exportFASTA: Exports getSequence results to FASTA format

Description Usage Arguments Author(s) Examples

View source: R/biomaRt.R

Description

Exports getSequence results to FASTA format

Usage

1
exportFASTA(sequences, file)

Arguments

sequences

A data.frame that was the output of the getSequence function

file

File to which you want to write the data

Author(s)

Steffen Durinck

Examples

1
2
3
4
5
6
7
8
if(interactive()){
mart <- useMart("ensembl", dataset="hsapiens_gene_ensembl")

#seq<-getSequence(chromosome=c(2,2),start=c(100000,30000),end=c(100300,30500),mart=mart)
#exportFASTA(seq,file="test.fasta")

martDisconnect(mart = mart)
}

biomaRt documentation built on Feb. 11, 2021, 2:01 a.m.