I am new to ChIPseq data analysis and am wondering how is the syntax for loading a bed file in R package chipseeker; so far I just used sample data provided with the package. For example, if I write:
peak <- readPeakFile("file.bed")
An error occurs since it cannot open the connection and find such file.
https://www.bioconductor.org/packages/release/bioc/vignettes/ChIPseeker/inst/doc/ChIPseeker.html
Thank you, but I already found that page. It's not clear to me how the five files are found and loaded in R.
From the docs, if you look at the code
files
is a named list object with paths ti bed file. So you need to create such an object with your files.How do I create such path to my bed files? I just replaced the example files with my bed file in GEO_sample_data folder.
May be, by learning basics of R?
Maybe consider not providing a reply if sarcasm is the best you can manage.
It may not be very helpful, but it's not sarcasm.
That is such a condescending and unnecessary response, if you're not going to help at all.