internal

Internal utility function to get a GRanges with the right or left loose ends. This function serves as the backend of gNode$loose

gNode.loose(gn, orientation)

Arguments

orientation

(character) either '', 'right' or 'left'. By default returns all loose ends (orientation = ''). If 'right' or 'left' returns only the loose ends that are to the right or left of nodes, accordingly.

Author

Alon Shaiber