torchdms.utils.build_beta_map

torchdms.utils.build_beta_map(wtseq, alphabet, beta_vec)[source]

This function creates a beta matrix for one latent layer of a torchdms model.

Takes a binary map object and beta vector as input. Returns a 21xL matrix of beta-coefficients and the amino acid alphabet.