Learn R Programming

MedZIsc (version 0.0.4)

adjust_Fg: adjust_Fg

Description

A function that adjusts zero proportion values to meet the requirements of beta regression by bounding values of 0 and 1 to 0.001 and 0.999.

Usage

adjust_Fg(Fg)

Value

A vector of adjusted zero proportions, with values constrained between 0.001 and 0.999.

Arguments

Fg

A numeric vector of length n, where each element represents the proportion of zero counts for a given gene g across cells for subject i.