Closed gevro closed 11 months ago
Thanks for fixing this! When will the new release be on bioconductor that incorporates this? (not urgent)
Thanks to @LiNk-NY for the PR (#82).
When will the new release be on bioconductor that incorporates this?
Not before Monday next week. Run BiocManager::install()
on Monday and you should get the fix (granted that you're running BioC 3.18 which was released earlier this week, see https://bioconductor.org/news/bioc_3_18_release/).
Best
Hi, Using GenomicRanges 1.46.1, I found a bug.
ignore.strand doesn't seem to work when applying it to an empty data table. See below for reproducible example.
Empty data table
blah <- data.table(chrom=character(),pos=numeric(),strand=factor())
makeGRangesFromDataFrame(blah,seqnames.field="chrom",start.field="pos",end.field="pos",ignore.strand=TRUE)
makeGRangesFromDataFrame(blah,seqnames.field="chrom",start.field="pos",end.field="pos",strand.field="strand")
NOT empty data table
blah <- data.table(chrom="chr1",pos=1,strand=factor("+"))
makeGRangesFromDataFrame(blah,seqnames.field="chrom",start.field="pos",end.field="pos",ignore.strand=TRUE)
makeGRangesFromDataFrame(blah,seqnames.field="chrom",start.field="pos",end.field="pos",strand.field="strand")