get_stats: Helper function for calculating test statistics

Usage Arguments

Usage

1
2
3
get_stats(file_name, nchunks, chunksize, margin, X, trait, covariates, sample,
  pheno_transformation = NULL, cores, libs, s0, stat_fun, resid_fun,
  chunks = "all")

Arguments

file_name

Name of phenotyp file

nchunks

Number of chunks in file

chunksize

Chunk size

margin

Margin

X

Data frame of trait information

trait

String; name of trait in X

covariates

Vector of names of covariates in X

sample

String; name of sample name in X

pheno_transformation

Phenotype transformation

cores

Number of cores

s0

s0

stat_fun

Function to calculate test stats

resid_fun

Function to calculate residual

chunks

Which chunks; may only be "all" or contiguous integers


jean997/fret documentation built on May 18, 2019, 11:43 p.m.