I get an error trying to read gif files using rtracklayer::import(< gtf file>, format="gtf"). The same error occurs when I don't specify the format.
> library(rtracklayer)
> rtracklayer::import("test_file.gtf", format="gtf")
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'con' in selecting a method for function 'import': invalid class “GFF2File” object: undefined class for slot "resource" ("characterORconnection")
Hi,
I get an error trying to read gif files using
rtracklayer::import(< gtf file>, format="gtf")
. The same error occurs when I don't specify the format.My system is as shown below:
The gtf file is below, it is taken from the reference provided in the
GFFFile-class
help page, so I assume it is correct. It is given below:Is there something that I overlook?
Thanks for your help, Eric