f1.score.prs: f1.score.prs : Calcul of the F1 score and the Polygenic Risk...

Description Usage Arguments Value

View source: R/useFonc.r

Description

f1.score.prs : Calcul of the F1 score and the Polygenic Risk Score (PRS) for sparse regression

Usage

1
f1.score.prs(sparse.effect, causal, genotype, phenotype)

Arguments

sparse.effect

: effect from a sparse regression

causal

: true causal SNP

genotype

: genotype –> one row per SNP, and one column per sample.

phenotype

: phenotype of interest

Value

Return the F1 Score, the precision, the recall, the prediction of the phenotype and the r2 between the phenotype and x.pred.


jumentib/useFonc documentation built on Nov. 18, 2019, 3:17 p.m.