Entering edit mode
rbronste
▴
60
@rbronste-12189
Last seen 5.1 years ago
Attempting to run chipenrich on sample data set:
chipenrich(peaks = peaks_E2F4, genome = 'hg19', genesets = c('GOBP', 'GOCC', 'GOMF'), locusdef = "nearest_tss", qc_plots = FALSE, out_name = NULL, n_cores = 1)
Running into the following error after some processing:
Reading peaks from data.frame.. Constructing GRanges Sorting GRanges Reducing GRanges Assigning peaks to genes with assign_peaks(...) .. Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘distanceToNearest’ for signature ‘"GRanges", "NULL"’ In addition: Warning messages: 1: In supported_genesets()$organism == organism & genesets %in% supported_genesets()$geneset : longer object length is not a multiple of shorter object length 2: In if (!file.exists(genesets)) { : the condition has length > 1 and only the first element will be used
And getting the following error:
Running identical version of Bioconductor and packages to you...
This is truly bizarre. I'm sorry, but I'm not sure what to do...
Try re-installing (via biocLite()) S4Vectors, IRanges, GenomicRanges.