ChIPpeakAnno can not load data
2
0
Entering edit mode
文杰 • 0
@a4dfd057
Last seen 3 months 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 • 432 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 11 weeks 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
0
Entering edit mode
@152d0fce
Last seen 5 weeks ago
Vietnam

Ensure that the file path is correct abgerny and that R has permission to access it. If you're working with a file located on a network or external drive, try moving it to a local directory to eliminate potential path or access issues.

ADD COMMENT

Login before adding your answer.

Traffic: 445 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