skbio.metadata.IntervalMetadata.drop#

IntervalMetadata.drop(intervals, negate=False)[source]#

Drop Interval objects.

The given Interval objects will be removed and their associated IntervalMetadata will be set to None.

Parameters:
intervalsiterable of Interval

Interval objects to drop from this object.

negatebool

Negate the drop operation, i.e. keeping the specified intervals instead of dropping them.