Extract each sample network from the whole network

extract_sample_net(
  whole_net,
  otutab,
  threads = 1,
  save_net = FALSE,
  fast = TRUE,
  remove_negative = FALSE,
  verbose = TRUE
)

Arguments

whole_net

the whole network

otutab

otutab, columns are samples, these columns will be extract

threads

threads, default: 1

save_net

should save these sub_nets? FALSE or a filename

fast

less indexes for faster calculate ?

remove_negative

remove negative edge or not? default: FALSE

verbose

verbose

Value

a dataframe contains all sub_net parameters

See also

Examples

data(otutab, package = "pcutils")
extract_sample_net(co_net, otutab) -> sub_net_pars
#> extracting
#> calculating topological indexes