mosaicmpi.dataset.Dataset.add_cnmf_results

mosaicmpi.dataset.Dataset.add_cnmf_results#

Dataset.add_cnmf_results(cnmf_output_dir, cnmf_name, local_density_threshold: float = None, local_neighborhood_size: float = None)#

After factorization, add completed cNMF results in [cnmf_output_dir]/[cnmf_name] to the dataset object.

Parameters:
  • cnmf_output_dir (str) – Output directory for cNMF results

  • cnmf_name (str) – Name of the cNMF results. Files will be output to [cnmf_output_dir]/[cnmf_name]/

  • local_density_threshold (float, optional) – Threshold for the local density filtering prior to program consensus. Acceptable thresholds are > 0 and <= 2 (2.0 is no filtering). Defaults to None.

  • local_neighborhood_size (float, optional) – Fraction of the number of replicates to use as nearest neighbors for local density filtering. Defaults to None