convert to tbl_graph class object in tidygraph.

convert2tbl_graph(object, intensity_method = c("sum", "mean", "median"), ...)

as.tbl_graph(object, intensity_method = c("sum", "mean", "median"), ...)

# S3 method for microbiome_dataset
convert2tbl_graph(object, intensity_method = c("sum", "mean", "median"), ...)

Arguments

object

microbiomedataset or Taxa table

intensity_method

for each node, the how to calculate the intensity for it accross all the samples

...

other params

Value

tbl_graph class object.