find_features_by_pattern

RepTaxonomy.find_features_by_pattern(pattern_str, case_sensitive=False, regex=False)[source]

Searches for features with taxa that matches pattern_str

Parameters
  • pattern_str (str) – Pattern to search for

  • case_sensitive (bool) – Case sensitive mode

  • regex (bool) – Use regular expressions

Returns

class

Return type

~numpy.ndarray with indices