Closed Starlitnightly closed 1 year ago
FWIW, I have an implementation of this working now. Will PR in a few days once I've benchmarked.
FWIW, I have an implementation of this working now. Will PR in a few days once I've benchmarked.
Thanks for your work!
Thank you for your effort on implement ScBasset.
Can a similar approach to
scbasset.utils.motif_score
also be integrated into scvi-tools in the future?The implementation in scbasset is very simple, the [-8] layer of the model is used as the output of the model and then simple arithmetic is performed.
I want to try to extract the corresponding layer from scvi's model (torch) like keras for prediction, but I failed, I can't find where the model parameters are stored. So is it possible to add the
motif_score
function in the next version?method link: https://github.com/calico/scBasset/blob/c15bec3a73fa1e04822db723338d234ca9d384ce/scbasset/utils.py#L453