View source: R/element_covariate_plot.R
element_covariate_network | R Documentation |
Plot the network of elements and covariates based on the long format of sequences
element_covariate_network(
sequences_long,
cutoff = 3,
element,
covariate,
n_permutations = 1000,
pvalue = 0.01,
clusters = FALSE
)
sequences_long |
A data frame containing the sequences, with columns for elements and contexts. |
cutoff |
minimum number of occurrences for which element or covariate should be included |
element |
A string specifying the column name for elements in the sequences data frame. |
covariate |
A string specifying the column name for contexts in the sequences data frame. |
n_permutations |
An integer specifying the number of permutations for the bootstrapping process. |
pvalue |
cutoff pvalue to include combination |
clusters |
should clusters be calculated and added? |
plot of bimodal network containing the elements and covariates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.