Description Usage Arguments Value Examples
View source: R/make_sample_gene_bipartite.R
Create a bipartite graph connecting cancer samples and their mutations.
1 |
s |
vector of samples |
g |
vector of mutated genes |
a tidygraph graph object with node attributes name
and
type
. Attribute type
holds boolean values to indicate which
of the two groups the node belongs to - TRUE
is for samples.
1 2 3 4 | make_sample_gene_bipartite(
simple_dataset$sample_name,
simple_dataset$mutated_gene
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.