From GRangesList object into a GRanges object
The unlist()
operation is fast and serves to partition a GRangesList
.
You can unlist the hg_ChrX
and then check how the lengths differ between the GRangesList
and the GRanges
objects.
This exercise is part of the course
Introduction to Bioconductor in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Unlist hg_ChrX and save result as myGR
myGR <- ___
# Compare classes of hg_ChrX and myGR
___
___