Description Usage Arguments Value Examples
Seriation function wrappers that give the result in a long tidy data.frame.
The result table can be transformed to a wide format with spread_seriation
.
1 2 3 4 5 | seriation.seriation_seriate(..., raw_output = TRUE)
seriation.tabula_seriate(..., raw_output = TRUE)
spread_seriation(x)
|
... |
Input arguments of |
raw_output |
Logical. Should the raw output of the wrapped functions be stored as an additional output attribute "raw"? Default: TRUE. |
x |
Data.frame. Output of the seriation wrapper functions. |
A tibble with the seriation result in a long format.
Additional values are stored in object attributes. See attributes(result)$raw
.
row: Character. Names of rows.
row_order: Integer. Order of rows.
col: Character. Names of columns.
col_order: Integer. Order of columns.
value: Numeric. Value in input matrix for respective row and col.
1 2 3 4 5 6 7 8 | seriation.seriation_seriate(matuskovo_material, method = "PCA")
library(tabula)
matuskovo_CountMatrix <- as(matuskovo_material, "CountMatrix")
seriation.tabula_seriate(matuskovo_CountMatrix, method = "correspondance")
# transform back to wide format
spread_seriation(seriation.seriation_seriate(matuskovo_material, method = "PCA"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.