[Bioc-devel] Problem showing a GRanges with a meta data column of data frame
m@rlin- @ending from gmx@cn
Tue May 15 04:17:35 CEST 2018
I recently upgraded R to 3.5 and use the new release of Bioconductor.
The new version of S4Vectors seems to have problem showing a GRanges
with a meta-data column of a data frame. One simplified example is:
gr <- GRanges('chr2', IRanges(1, 11))
gr$df <- data.frame(a = 32)
rep(gr, 11) ## No error
rep(gr, 12) ## Error when printing
# GRanges object with 12 ranges and 1 metadata column:
# Error in .Call2("vector_OR_factor_extract_ranges", x, start, width,
PACKAGE = "S4Vectors") :
# 'end' must be <= 'length(x)'
Any help would be appreciated!
More information about the Bioc-devel