Function
weight
Number of relevant positions in a shape.
weight(shape)
Parameters
shape
Shape object for which the number of relevant positions is determined.
Types: Shape
Return Values
Number of relevant positions.
Remarks
For ungapped shapes the return value is the result of the length function. For gapped shapes this is the number of '1's.
SeqAn - Sequence Analysis Library - www.seqan.de