scdrs.util.load_scdrs_score#

scdrs.util.load_scdrs_score(score_file: str, obs_names: List[str] | None = None) Dict[str, DataFrame][source]#

Load scDRS scores.

Use “@” to specify multiple files, e.g., score_folder/@.full_score.gz

Parameters:
score_filestr

Path to scDRS .full_score.gz file. Use ‘@’ to specify multiple file names, e.g., score_folder/@.full_score.gz. However, score_folder should not contain ‘@’.

obs_namesList[str]

Expected list of cells. Score files with less than 10% overlap with this list will be skipped.

Returns:
dict_scoreDict[str, pd.DataFrame]

Dictionary of scDRS full score DataFrames, keyed by trait name.