R/get_Sequences.R

Defines functions get_Sequences

Documented in get_Sequences

get_Sequences = function(x,filename){res = getURL(paste("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=",paste(x,collapse=","),"&rettype=fasta",sep=""));write(res,file=paste(filename,"_sequences_fasta.txt"))}

Try the pubmed.mineR package in your browser

Any scripts or data that you put into this service are public.

pubmed.mineR documentation built on Nov. 26, 2021, 5:11 p.m.