Closed bschilder closed 2 years ago
Ok, so I see they provided an example here. I wasn't aware of this functionality, and as far as I know it isn't well documented (?import
doesn't have any documentation for some reason). But if it works consistently then it makes sense use it.
URL <- "https://www.encodeproject.org/files/ENCFF044JNJ/@@download/ENCFF044JNJ.bed.gz"
encode_ac <- rtracklayer::import(URL, format="narrowPeak")
Noticed that
import_narrowPeak
was removed. Recall you mentioning a Bioc reviewer didn't like this function bc it "reinvented the wheel". But did they ever try running an example to prove this?The reason I added that function is bc
rtracklayer
is unable to do so, as isChIPseeker
. Both of these return errors:If there is an alternative method that works better, happy to use that. But otherwise we should add
import_narrowPeak
back intoEpiCompare
so we have a means of importing files from ENCODE and other sources.Session info