snapatac2.datasets.colon#
- snapatac2.datasets.colon()[source]#
Fetch five transverse colon scATAC-seq fragment datasets.
Use this helper to download and extract the colon transverse sample archive from [Zhang21]. Each returned tuple provides a sample name and the cached fragment-file path for that sample.
- Returns:
Tuples containing
(sample_name, fragment_file), wheresample_nameis a string parsed from the archive filename andfragment_fileis a pathlib.Path pointing to a fragments file.- Return type:
Examples
>>> import snapatac2 as snap >>> samples = snap.datasets.colon() >>> name, fragment_file = samples[0] >>> isinstance(name, str) and fragment_file.exists() True