sainsc.io.read_Vizgen

sainsc.io.read_Vizgen(filepath, *, binsize=0.5, remove_genes=VIZGEN_CTRLS, n_threads=None)

Read a Vizgen transcripts file.

Parameters:
  • filepath (PathLike or str) – Path to the Vizgen transcripts file.

  • binsize (float, optional) – Size of each bin in um.

  • remove_genes (Collection[str], optional) – List of regex patterns to filter the ‘gene’ column, sainsc.io.VIZGEN_CTRLS by default.

  • n_threads (int | None, optional) – Number of threads used for reading file and processing. If None or 0 this will default to the number of available CPUs.

Return type:

LazyKDE