Skip to contents

se.resampling estimates the Standard Error comparing a main ASAP run and multiple other ASAP runs, for example runs obtained with jackknife resampling. se.resampling takes three inputs: a list with the main ASAP result, a list with the resampling ASAP results, and a numeric vector containing the number of SNPs per each chromosome.

Usage

se.resampling(nnls_main, nnls_resampling, chromovec)

Arguments

nnls_main

list obtained from the asap() function on the main set.

nnls_resampling

list contining multilpe asap() function results, on the resampled set.

chromovec

a numeric vector containing the number of SNPs per each chromosome (ie. chromovec = rep(1000,times = 22))

Value

Returns a table containing the standard error per each target given the source group.

Examples

if (FALSE) {
se.resampling(nnls_main = ASAP_main, nnls_resampling = ASAP_resampling, chromovec)
}