# NOT RUN {
# Define here the location on HDD for the example file
fpath <- system.file("extdata","example.gtf", package="GenomicTools.fileHandler")
# Same file, but this time as gzipped version
fpath.gz <- system.file("extdata","example2.gtf.gz", package="GenomicTools.fileHandler")
# Import the example gtf file
importGTF(fpath, level="transcript", features=c("gene_id","FPKM"))
# }
# NOT RUN {
# For the current you need to have zcat installed (should be standard on a Linux system)
importGTF(fpath.gz, level="transcript", features=c("gene_id","FPKM"))
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab