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 Oct. 16, 2024, 10:23 p.m.