@staticmethod
def mp_score_geneset(geneset, diffusion):
    """Static method for calculating geneset score

        For multiprocessing use

        Args:
            geneset (pd.Series): boolean pd.Series indicating which scoresVector genes are in the geneset
            scoresVector (matrix): vector with scores
            computedMatrix (matrix): diffusion kernel

        Returns:
            score (float)
        """
    score = diffusion.T[geneset].sum()
    return score
