podcallThresholds {PoDCall} | R Documentation

## podcallThresholds

### Description

Function sets threshold per channel per well and calculates concentrations. Results are returned as a data frame.

### Usage

    podcallThresholds(plateData,
                            nchannels=c(1,2)[2],
                            B=200,
                            Q=9,
                            refWell=1,
                            updateProgress=NULL)

### Arguments

`plateData` | List of data frames with amplitude data from a 96 well plate
`nchannels` | Number of channels used in the experiment (default=2)
`B` | Number of permutations for the Likelihood Ratio Test (LRT) (default=200)
`Q` | Parameter for outlier calling (default=9)
`refWell` | reference well to calculate the shift in baseline (default=1)
`updateProgress` | function to update progress bar in shiny app (default=NULL)

### Value

A table with results and metrics, one row per well.

### Examples

    ## Path to example data
    dataPath <- system.file("extdata", "Amplitudes/", package="PoDCall")

    ## Read in example data
    dataList <- importAmplitudeData(dataDirectory=dataPath)

    ## Set thresholds
    thresholds <- podcallThresholds(plateData=dataList,
                                    B=100)

[Package PoDCall version 1.2.0 Index]