theislab / scarches

Reference mapping for single-cell genomics
https://docs.scarches.org/en/latest/
BSD 3-Clause "New" or "Revised" License
323 stars 50 forks source link

Scpoli get latent #221

Closed chelseabright96 closed 6 months ago

chelseabright96 commented 7 months ago

Batch the adata.X before getting the latent representation. Add if statement to return the mean param of the encoder output

Koncopd commented 6 months ago

Looks fine to me, thanks.