corgenelength: Normalize gene mutation scores by gene length.

Description Usage Arguments Value

View source: R/corgenelength.R

Description

Normalize gene mutation scores by gene length.

Usage

1
corgenelength(x, cagenes, exonsize, ...)

Arguments

x

Mutation data, in the format of a matrix, including the number of mutations for samples (rows) and genes (columns).

cagenes

A vector of genes, for example of cancer-associated genes. This will be used to subset the gene-level mutation data to.

exonsize

A vector of gene lengths. This will be used to normalize the gene mutation scores.

Value

Mutation rate-adjusted gene mutation scores.


mararie/SAMBAR documentation built on Nov. 23, 2019, 12:36 a.m.