[R] efetch result not in character format

Ezra Bekele ezrabekele17 at gmail.com
Fri Jun 9 19:45:43 CEST 2017


Hi,

I want to use reutils to obtain the accession numbers of a query search in
character format. When I use efetch, the accession number isn't in a
character format, and I'm not sure if the number is accurate, because I get
the error:

Error in file.exists(destfile) : object 'destfile' not found

This is what I tried:

UIDs<-esearch( "Methylation" )

accession_numbers = efetch(UIDs, rettype = "acc")

How do I obtain only the accession number and is the number accruate?

Thank you

	[[alternative HTML version deleted]]



More information about the R-help mailing list