merquaco.experiment.Experiment.scale_transcripts_xy

static Experiment.scale_transcripts_xy(transcripts: DataFrame) DataFrame

Scales transcripts (x,y) locations based on min (x,y) values

Parameters:

transcripts (pd.DataFrame) – Transcripts DataFrame

Returns:

transcripts – Rescaled transcripts DataFrame

Return type:

pd.DataFrame

Notes

This is especially necessary for generating accurate masks in experiments with multiple regions, where x,y transcript locations are on a global scale.