Learn R Programming

fitPoly (version 4.0.0)

calcRstats: Calculate statistics of R per marker

Description

Calculate the min, max, mean and 50 for each marker

Usage

calcRstats(datpoly, out)

Value

a data frame with columns MarkerName, mean, min, q50, q95, max which are all statistics of the R values per marker

Arguments

datpoly

a data frame in long format (input format for fitPoly) with at least columns MarkerName, SampleName, R

out

name of output file; if NA no file is written. File contains the same data as the return value

Details

The data.frame returned by this function is used as input for function selMarkers_byR