write.edges | R Documentation |
This function takes a network (in the form of a coexpression matrix) and trims some of the
edges using the passed function fun
. The resulting network is both returned and
saved on disk.
write.edges(coexpression, outfolder, keep.weights = TRUE, overwrite = TRUE, fun = thinning_abs_threshold, ...)
coexpression |
a coexpression matrix, in long form, as the one returned by write.coexpressionMatrix |
outfolder |
the data folder where to save the results |
keep.weights |
boolean. If TRUE arc weights are kept. Defaults to FALSE. |
overwrite |
boolean. Should an existing edge file be overwritten on disk? |
fun |
edge filtering function, defaults to thinning_abs_threshold |
... |
extra arguments are passed to edge filtering function |
a trimmed network
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.