Description Usage Arguments Value Examples
(INTERNAL) Checks if the connection defined in 'connection' makes sense in context of the defined layers.
1 | check_sensible_connections(connection, layers)
|
connection |
Connection to check. Created by |
layers |
List of layers to check. Individual layers are created by
|
Character string vector containing error messages.
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(mrna_data)
mrna_layer = make_layer(name="mrna",
mrna_data$group1$data, mrna_data$group2$data,
mrna_data$group1$identifiers,
mrna_data$group2$identifiers)
data(protein_data)
protein_layer = make_layer(name="protein",
protein_data$group1$data,
protein_data$group2$data,
protein_data$group1$identifiers,
protein_data$group2$identifiers)
con = make_connection("mrna", "protein", connect_on="gene_name")
return_errors(check_sensible_connections(con, layers=list(mrna_layer, protein_layer)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.