filter_by_mutation_frequency: Filter a bipartite graph's genes by number of mutations

Description Usage Arguments Value Examples

View source: R/filter_by_mutation_frequency.R

Description

Returns a vector of genes that passes the minimum number of mutations.

Usage

1
filter_by_mutation_frequency(bgr, min_times_mut, sample_is = TRUE)

Arguments

bgr

a bipartite edge graph that has the node attributes type and name; these attributes are not checked for explicitly, but will throw an error if not present

min_times_mut

minimum number of mutations per gene

sample_is

either TRUE or FALSE dictating which boolean value corresponds to the samples in the "type" attribute of bgr

Value

a vector of (unique) gene names

Examples

1
2
3
4
5
6
7
8
9

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