statWell {prada}R Documentation

Calculate a statistic for the data from one well

Description

Calculate a statistic for the data from one well

Usage

statWellLocfit(x, span,
  plotwhat="nothing", plotdir=".", plotfile, ...)

Arguments

x data.frame with (at least) columns brdu, trsf, dapi, Field, and cloneId.
span numeric. Is used as the parameter of alpha in the call to the function locfit.
plotwhat character of length 1. Allowed values are nothing, screen, figscp, mkpp. The parameter is used to control the number and format of the diagnostic plots that are produced as a side effect of this function.
plotdir character of length 1. The name of directory where diagnostic plots will be saved (only relevant if plotwhat is figscp or mkpp).
plotfile character. The file name root for the file with the diagnostic plot (only relevant if plotwhat is figscp or mkpp). If missing, a default name is generated.
... Further arguments that are passed on to plot.

Details

The function fits a local regression model to the data. For details, please see the paper.

Value

A list with elements cloneId, nrcells, trsfeff, delta, se.delta, zscore, plotfile.

Author(s)

Wolfgang Huber http://www.dkfz.de/abt0840/whuber

Examples

##see vignette

[Package Contents]