Code should be placed in three backticks as shown below
# include your problematic code here with any corresponding output
# please also include the results of running the following in an R session
sessionInfo( )
cell <- dba(sampleSheet = "/home/cytolab/extdata/cell lines data.csv")
1 cal27 ko1 H3K36me2 Treated full media 1 bed
Error in if (file.info(peaks)$size > 0) { :
missing value where TRUE/FALSE needed
Hello, please understand that a question without reasonable title, any text and only a malformatted output is not sufficient to diagnose the issue. At least show a selection of the samplesheet and your sessionInfo().
This error usually indicates that there is some problem with how you have specified the peak files. Is the peak file accessible from the current working directory? Do you have permission to read it?
The format of the samplesheet .csv is documented in the help page for dba() for the samplesheet parameter. There are example .csv files included with the package as documented in the examples on that page.
You can test if the files are really accessible as follows:
Hello, please understand that a question without reasonable title, any text and only a malformatted output is not sufficient to diagnose the issue. At least show a selection of the samplesheet and your
sessionInfo()
.