ChIPpeakAnno can not load data
1
0
Entering edit mode
文杰 • 0
@a4dfd057
Last seen 18 days ago
Taiwan
>macs_peak <- system.file("extdata", 'H820_OsiR_1_peaks.xls', package = "ChIPpeakAnno")`
> macs_peak

[1] ""

> macs_peak_gr <- toGRanges(macs_peak, format = "MACS")
Error in read.table(data, header = header, comment.char = comment.char,  :

system.file can not work

genomes ChIPpeakAnno • 204 views
ADD COMMENT
0
Entering edit mode

Where is there a reference to this file? Indeed this file does not exist in this package.

ADD REPLY
0
Entering edit mode
hukai916 ▴ 10
@e84eaed3
Last seen 3 days ago
United States

ChIPpeakAnno stores several example files under its extdata directory for demonstration purposes. These files can be found with the system.file() function. That being said, if the file (e.g. "H820_OsiR_1_peaks.xls") is not pre-existing in the package, system.file() will not find it. A side note, you have an extra backtick ("`") at the end of your first commend.

ADD COMMENT

Login before adding your answer.

Traffic: 416 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6