def distance(self, rhs, method='MSE'): """Calculate the distance between myself and another PPR using method: method = 'MSE': Mean Squared Error 'KL': KL divergance """ if method == None: method = "MSE" return PSSM.distance(self.pssm, rhs.pssm, method)
def distance(self, rhs, method="MSE"): """Calculate the distance between myself and another PPR using method: method = 'MSE': Mean Squared Error 'KL': KL divergance """ if method == None: method = "MSE" return PSSM.distance(self.pssm, rhs.pssm, method)