Exports getSequence results to FASTA format
Arguments
- sequences
A data.frame that was the output of the
getSequence()function- file
File to which you want to write the data
Examples
if (FALSE) { # interactive()
mart <- useMart("ENSEMBL_MART_ENSEMBL", dataset = "hsapiens_gene_ensembl")
seq <- getSequence(
id = "BRCA1",
type = "hgnc_symbol",
seqType = "cdna",
mart = mart
)
exportFASTA(seq, file = "test.fasta")
}