sambarCorgenelength: Normalize gene mutation scores by gene length.

View source: R/SAMBAR.R

sambarCorgenelengthR Documentation

Normalize gene mutation scores by gene length.

Description

Normalize gene mutation scores by gene length.

Usage

sambarCorgenelength(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.


netZoo/netZooR documentation built on June 8, 2024, 6:20 a.m.