def core_observations_across_sample_ids(table, sample_ids=None, fraction_for_core=1.0):
 try:
  result = list(filter_table_to_core(table, sample_ids, fraction_for_core).ids(axis='observation'))
 except TableException:
  result = []
 return result

def core_observations_across_sample_ids ( table , sample_ids = None , fraction_for_core = 1.0 ) : try : result = list ( filter_table_to_core ( table , sample_ids , fraction_for_core ) . ids ( axis = 'observation' ) ) except TableException : result = [ ] return result
get the list of core observations in table table: the biom-format table object to filter sample_ids: list of sample ids of interest for the core computation fraction_for_core: the fraction of the sample_ids that an observation must have a non-zero count for to be considered a core observation .