Learn R Programming

qtlhot (version 1.2.10)

PrecTpFpMatrix: Compute Precision, True Positives, and False Positives

Description

The `PrecTpFpMatrix` function calculates precision, true positives, and false positives for various tests. It is used to evaluate the performance of QTL mapping methods.

Usage

PrecTpFpMatrix(alpha, val.targets, all.orfs, tests, cand.reg, cis.cand.reg)

Value

A list of matrices containing precision, true positives, and false positives for each method and significance level.

Arguments

alpha

A numeric vector of significance levels.

val.targets

A vector of validated target genes.

all.orfs

A vector of all open reading frames (ORFs).

tests

A list of test results for different methods.

cand.reg

Candidate regions for QTL mapping.

cis.cand.reg

Cis-regulatory candidate regions.

Examples

Run this code
if (FALSE) {
results <- PrecTpFpMatrix(alpha = seq(0.01, 0.1, by = 0.01),
                          val.targets = validated_genes,
                          all.orfs = all_genes,
                          tests = test_results,
                          cand.reg = candidate_regions,
                          cis.cand.reg = cis_regions)
}

Run the code above in your browser using DataLab