The as_data_frame(graph) function usage returns a dataframe with from and to columns (vertices) as well as a weight for the edge.
The values in the from and to columns appear to be drawn from the $name attribute. Is it possible to change which attribute is reported as values in these columns? for example $speciesname?
Thanks.