exportFASTA {biomaRt} | R Documentation |
Exports getSequence results to FASTA format
exportFASTA(martTable, file)
martTable |
A martTable that was the output of the getSequence function |
file |
File to which you want to write the data |
Steffen Durinck, http://www.esat.kuleuven.ac.be/~sdurinck
if(interactive()){ mart <- useMart("ensembl") #seq<-getSequence(chromosome=c(2,2),start=c(100000,30000),end=c(100300,30500),species="hsapiens",mart=mart) #exportFASTA(seq,file="test.fasta") martDisconnect(mart = mart) }