calour.amplicon_experiment.AmpliconExperiment.get_data

AmpliconExperiment.get_data(sparse=None, copy=False)[source]

Get the data as a 2d array

Get the data 2d array (each column is a feature and row is a sample)

Parameters:
  • sparse (None or bool, optional) – None (default) to pass original data (sparse or dense). True to get as sparse. False to get as dense
  • copy (bool, optional) – True to get a copy of the data; otherwise, it can be the original data or a copy (default).
Returns:

Return type:

Experiment.data