skbio.metadata.IntervalMetadata.drop¶
- IntervalMetadata.drop(intervals, negate=False)[source]¶
Drops Interval objects.
State: Experimental as of 0.5.1.
The given
Intervalobjects will be removed and their associatedIntervalMetadatawill be set toNone.- Parameters:
intervals (iterable of
Interval) –Intervalobjects to drop from this object.negate (bool) – Negate the drop operation, i.e. keeping the specified intervals instead of dropping them.