Perform the estimation of the mutations associated to specific mutational signatures.
associationAlterations(alterations, signatures)A list with the association estimates. It includes 5 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. fold_changes: fold changes estimating the strength of the associations.
data(association_mutations)
set.seed(12345)
alterations = association_mutations$alterations
normalized_alpha = association_mutations$normalized_alpha
association_alterations = associationAlterations(alterations = alterations,
signatures = normalized_alpha)
#> Warning: Passing 'maxit' to glmnet() is deprecated. Use control = list(maxit = ...) instead.