make_sample_gene_bipartite: Make the sample-gene bipartite graph

Description Usage Arguments Value Examples

View source: R/make_sample_gene_bipartite.R

Description

Create a bipartite graph connecting cancer samples and their mutations.

Usage

1

Arguments

s

vector of samples

g

vector of mutated genes

Value

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.

Examples

1
2
3
4

jhrcook/wext documentation built on May 17, 2021, 1:19 a.m.