Like dplyr, metanetwork also uses the pipe function, %>% to turn function composition into a series of imperative statements.

Value

an object of the class of the output of the last called method/function

Examples


library(metanetwork)
data("meta_angola")
meta_angola %>% attach_layout() %>% ggmetanet()
#> attaching TL-tsne layout for metaweb_Species
#> 
#>                   beta = 0.1
#> beta = 0.1
#> Epoch: Iteration #100 error is: 838.972165625954
#> Epoch: Iteration #200 error is: 199.589208619776
#> Epoch: Iteration #300 error is: 199.58919020088
#> mode is TL-tsne