calculate_row_exclusivity_weights: Calculate the weights for the Row-Exclusivity test

Description Usage Arguments Examples

Description

The weight for each gene in the Row-Exclusivity test is the number of samples with a mutation in a gene divided by the number of samples.

Usage

1
calculate_row_exclusivity_weights(dat, sample_col, mutgene_col)

Arguments

dat

tibble with mutation information

sample_col

column of samples names (quoted)

mutgene_col

column of genes that are mutated (quoted)

Examples

1
2
3
4
library(wext)
calculate_row_exclusivity_weights(dat = simple_dataset,
                                  sample_col = sample_name,
                                  mutgene_col = mutated_gene)

jhrcook/wext documentation built on June 13, 2019, 7:30 p.m.