verify_row_info {funkyheatmap} | R Documentation |
Verify the integrity of the row info object
Description
Verify the integrity of the row info object
Usage
verify_row_info(row_info, data)
Arguments
row_info |
A data frame describing the rows of
|
data |
A data frame with items by row and features in the columns.
Must contain one column named |
Value
The row info object with all expected columns.
Examples
library(tibble)
data <- tribble(
~id, ~name, ~x, ~y,
"foo1", "Foo1", 0.5, 0.7,
"foo2", "Foo2", 0.5, 0.8,
"bar1", "Bar1", 1.0, 0.2,
"bar2", "Bar2", 1.0, 0.1
)
row_info <- tribble(
~id, ~group,
"foo1", "foo",
"foo2", "foo",
"bar1", "bar",
"bar2", "bar"
)
verify_row_info(row_info, data)
[Package funkyheatmap version 0.5.0 Index]