Get the coefficients
coefficients(object, ...)
object | the object to get from |
---|---|
... | additional arguments used by the concrete implementation |
a numeric matrix of size `nrow(fit) * p`
accessor_methods for the implementation for a 'proDAFit' object
syn_data <- generate_synthetic_data(n_proteins = 10) fit <- proDA(syn_data$Y, design = syn_data$groups) coefficients(fit)#> Condition_1 Condition_2 #> protein_1 17.91406 17.79756 #> protein_2 18.58241 17.62348 #> protein_3 21.25133 21.47490 #> protein_4 18.89097 18.91265 #> protein_5 18.58241 17.62348 #> protein_6 20.34364 20.11195 #> protein_7 21.78855 21.72281 #> protein_8 20.86626 20.86294 #> protein_9 18.25640 17.85123 #> protein_10 23.22468 19.54842