compute.selection: Estimate selection coefficients of missense mutations and...

View source: R/r-functions.selection.R

compute.selectionR Documentation

Estimate selection coefficients of missense mutations and truncating mutations

Description

Estimate selection coefficients of missense mutations and truncating mutations

Usage

compute.selection(obs_exp, joint = FALSE, indel = FALSE)

Arguments

obs_exp:

A data frame with observed and expected counts

joint:

A boolean flag to estimate joint probabilities

indel:

A boolean flag to consider indel jointly with or independently from substitutions

Value

A vector with observed counts, end values and estimated probabilities


liliulab/gust documentation built on Aug. 30, 2022, 1:42 a.m.