get_stats: Get statistics on how many SNPs have been correctly...

View source: R/get_stats.R

get_statsR Documentation

Get statistics on how many SNPs have been correctly identified

Description

This functions gives statistics on the count and frequency of false negatives, true negatives, false positives and true positives in analysed data

Usage

get_stats(pvalues, true_causal, a)

Arguments

pvalues

A vector of the pvalues calculated from analysis.

true_causal

A vector indicating causal SNPs (1 where causal, 0 where not causal).

a

An integer specifying significance level and thereby the cutoff for a SNP being causal.

Value

A dataframe containing the statistics


Best-Nicklas/Dataprojekt documentation built on June 7, 2022, 12:08 a.m.