null.lg.fit: null.lg.fit

Description Usage Arguments Details Value References Examples

Description

Gaussian fit for null similarity scores.

Usage

1
null.lg.fit(score.null.vec, standardizeQ = FALSE, plotQ = FALSE)

Arguments

score.null.vec

Vector of null (non-match) similarity scores or transformed similarity scores

standardizeQ

Whether or not to standardize the null scores

plotQ

Diagnostic plots?

Details

The gaussian distribution is a distribution which often gives a good fit to the null log similarity scores when these scores are on a scale of 0 to 1. Other than standardization, this function assumes that if the user wants the scores to be transformed, they've transformed them. This routine calls the fitdistr function from the MASS package.

Value

list with the fitted parameters, fit info and chi-square goodness of fit test results

References

XXXX

Examples

1
XXXX

npetraco/fdrID documentation built on May 23, 2019, 9:33 p.m.