Description Usage Arguments Value See Also Examples
View source: R/align_matrices.R
Align the columns of two matrices using their column names, omitting columns that are not present in both.
1 | align_matrix_cols(x, y)
|
x |
A matrix |
y |
Another matrix |
A list with the input x
and y
matrices, with the
columns aligned using their names. Columns not in both matrices
are omitted.
1 2 3 4 | # using the provided lineup2ex data (a list of two matrices)
# reduces to the common columns and puts the columns in the same order
# (using the column names)
aligned <- align_matrix_cols(lineup2ex$gastroc, lineup2ex$islet)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.