package biotk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module GAnnot.SelectionSource

A collection of non-overlapping regions (e.g. a set of CpG islands)

Sourcetype t
Sourceval empty : t
Sourceval add : t -> GLoc.t -> t
Sourceval inter : t -> t -> t
Sourceval union : t -> t -> t
Sourceval diff : t -> t -> t
Sourceval size : t -> int
Sourceval intersects : t -> GLoc.t -> bool

intersects loc sel returns true if loc has a non-empty intersection with sel, and false otherwise.

Sourceval overlap : t -> GLoc.t -> int
Sourceval to_seq : t -> GLoc.t Seq.t
Sourceval of_seq : GLoc.t Seq.t -> t

of_seq e computes a selection (i.e. a set of non overlapping locations) as the union of the locations contained in e