compute_weights_default | R Documentation |
This procedure computes the weights for edges of a graph accordingly to CIMICE specification. (See vignettes for further explainations)
compute_weights_default(g, freqs)
g |
a graph (must be a DAG with no transitive edges) |
freqs |
observed frequencies of genotypes |
a graph with the computed weights
require(dplyr) preproc <- example_dataset() %>% dataset_preprocessing samples <- preproc[["samples"]] freqs <- preproc[["freqs"]] labels <- preproc[["labels"]] genes <- preproc[["genes"]] g <- graph_non_transitive_subset_topology(samples, labels) compute_weights_default(g, freqs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.