cellink.tl.external.load_abc_links#
- cellink.tl.external.load_abc_links(abc_file, tissue=None)#
Load ABC model enhancer-gene predictions from the combined all-tissue file.
The actual file in the GCS bucket is
AllPredictions.AvgHiC.ABC0.015.minus150.withcolnames.ForABCPaper.txt.gz, a single combined file for all tissues. Per-tissue files do not exist.- Parameters:
abc_file (
str|Path) – Path to the combined ABC predictions file, downloaded bydownload_sclinker_enhancer_links().tissue (
str|None(default:None)) – Tissue code to filter to (e.g."BLD"). If None, returns all rows. Matched against theCellTypeor equivalent column in the file.
- Return type:
DataFrame- Returns:
pd.DataFrame with columns: chr, start, end, TargetGene, CellType, ABC.Score (and others from the predictions file).