ddmodel_binary: diffDriver model only for binary phenotype.

View source: R/ddmodel.R

ddmodel_binaryR Documentation

diffDriver model only for binary phenotype.

Description

This function uses the model as cmodel.frac, but generalizes to take more than 1 functional categories. This model is applied on data of a single gene

Usage

ddmodel_binary(mut, e, bmr, fe)

Arguments

mut

a matrix of mutation status 0 or 1

e

a vector,phenotype of each sample, should match the columns of mut and bmr

bmr

a matrix, background mutation rate of each sample at each mutation (log scale)

fe

a vector, increased mutation rate at each mutation, due to functional effect (log scale), should match the rows of mut and bmr


szhaolab/diffdriver documentation built on June 1, 2025, 8:04 p.m.