Perform the estimation of the mutational signatures associated to mutations in specific genes.
associationSignatures(alterations, signatures)
A list with the association estimates. It includes 6 elements: alterations: matrix with the observed mutations (columns) for each patient (rows) as binary variables. signatures: matrix with the estimated exposures to signatures (columns) for each patient (rows). associations: estimated associations. intercept: intercept resulting from the regularized regression estimate. probabilities: probability of observing a mutation in a certain gene given the presence of specific signatures. fold_changes: fold changes estimating the strength of the associations.