Get the abundance matrix

abundances(object, ...)

Arguments

object

the object to get from

...

additional arguments used by the concrete implementation

Value

the original matrix that was fitted

See also

accessor_methods for the implementation for a 'proDAFit' object

Examples

syn_data <- generate_synthetic_data(n_proteins = 10) fit <- proDA(syn_data$Y, design = syn_data$groups) abundances(fit)
#> Condition_1-1 Condition_1-2 Condition_1-3 Condition_2-1 #> protein_1 NA NA 17.39441 NA #> protein_2 21.44783 22.04568 21.58932 21.27364 #> protein_3 21.99514 23.82042 21.65555 24.77057 #> protein_4 19.69809 20.02652 20.83321 19.85557 #> protein_5 NA 18.14249 NA 18.18695 #> protein_6 20.20171 19.54966 20.01480 NA #> protein_7 18.35542 18.45723 NA 18.15738 #> protein_8 16.73948 NA NA NA #> protein_9 21.83534 21.72478 22.65959 22.81777 #> protein_10 20.77706 20.84517 20.77847 23.65964 #> Condition_2-2 Condition_2-3 #> protein_1 NA 17.32600 #> protein_2 21.58395 21.70533 #> protein_3 24.34303 21.34003 #> protein_4 19.76298 19.74544 #> protein_5 NA 18.18038 #> protein_6 NA 19.88450 #> protein_7 18.59377 18.40095 #> protein_8 NA NA #> protein_9 22.40100 22.61339 #> protein_10 23.74005 23.59049