-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Can anybody tell what type of error this is, on a given test example?
> use_python("/home/xx/miniforge3/envs/R.4.2_cloned_mapdemo_env/bin/python3")
> gr <- GRanges("chr1", IRanges(1:3, 20))
> pyr <- makePyRangesFromGRanges(gr)
> pyr # PyRanges objects follow the 0-based start convention!!
+--------------+-----------+-----------+
| Chromosome | Start | End |
| (category) | (int64) | (int64) |
|--------------+-----------+-----------|
| chr1 | 0 | 20 |
| chr1 | 1 | 20 |
| chr1 | 2 | 20 |
+--------------+-----------+-----------+
> makeGRangesFromPyRanges(pyr)
Unstranded PyRanges object has 3 rows and 3 columns from 1 chromosomes.
For printing, the PyRanges was sorted on Chromosome.
Error in makeGRangesFromPyRanges(pyr) :
inherits(pyr, "pyranges.pyranges.PyRanges") is not TRUE
Metadata
Metadata
Assignees
Labels
No labels