Description Usage Details Value
Will check that the contrasts provided are indeed contrasts. contrasts are expected to be either a vector of string or a matrix containing the contrasts coefficients.
1 2 3 4 5 6 7 | expand_contrast(moanin_model, contrast_vector)
check_data_meta(data, object)
check_is_2d(X)
is_contrasts(contrasts, moanin_model)
|
If a vector of string is provided, the function will call limma::makeContrast in order to obtain the contrasts coefficients.
If a contrasts matrix is provided, it will perform a number of checks on the contrasts matrix to make sure it contains the number of rows expected, and that each contrast indeed sums to 0.
Does not return anything. Only hits errors if there are problems.
is_contrasts
returns the contrasts, with any corrections.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.