There's a problem with edge data containing sequences in tibble format. Turns out BioNet::saveNetwork(type = "XGMML") calls BioNet:::.XGMML.edges(), which in turn saves edge attributes in text; and this text requires string/integer/real values, not tibbles. Would reversing the parsing made to the sequence columns before saving with BioNet work? This would change
graph_from_data_frame(
edges[["table"]],
vertices = ag_data_nodes()
)
to something like
graph_from_data_frame(
deparse_chains(edges[["table"]]),
vertices = ag_data_nodes()
)
There's a problem with edge data containing sequences in tibble format. Turns out
BioNet::saveNetwork(type = "XGMML")callsBioNet:::.XGMML.edges(), which in turn saves edge attributes in text; and this text requires string/integer/real values, not tibbles. Would reversing the parsing made to the sequence columns before saving with BioNet work? This would changeto something like