calculate_row_exclusivity_weights: Calculate the weights for the Row-Exclusivity test

Description Usage Arguments Examples

View source: R/calculate_row_exclusivity_weights.R

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 May 17, 2021, 1:19 a.m.