estss: Estimate the specificity and sensitivity of a somatic...

View source: R/estss.R

estssR Documentation

Estimate the specificity and sensitivity of a somatic mutation based on its read-count data.

Description

Estimate the specificity and sensitivity of a somatic mutation based on its read-count data.

Usage

estss(A, D, O, pi, varphi)

Arguments

A

A vector for the number of alternative reads for the somatic mutation.

D

A vector for the read-depths for the somatic mutation.

O

A vector for the observed somatic mutation values.

pi

The mean parameters for the beta-binomial distributions when the true somatic mutation value equals 0 or 1.

varphi

The over-dispersion parameters for the beta-binomial distributions when the true somatic mutation value equals 0 or 1.

Value

The estimated specificity and sensitivity for the somatic mutaiton.


Sun-lab/SAME documentation built on Jan. 27, 2024, 6:48 p.m.