View source: R/ExpandMultiBlock.R
ExpandMultiBlock | R Documentation |
ExpandMultiBlock Splits data into several blocks, allowing variables to appear on more than one block at the same time.
ExpandMultiBlock(data = NULL, metadata = NULL, minblock = 0, loquace = TRUE)
data |
A data.frame or a matrix. Samples are in rows and variables in columns. |
metadata |
A 2-column data.frame detailing how columns in data must be propagated. Entries in the first column must match the row names in data (variable names). The second column details the new blocks. |
minblock |
The minimal number of variables that need to be contained in a block in order to be kept. |
loquace |
To display warning |
The MultiBlock.
data(mouse_ds)
lipidsMB <- ExpandMB(data = lipids, metadata = metadata_lipids,
minblock = 0, loquace = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.