newMCResult: MCResult Object Constructor with Matrix in Wide Format as...

View source: R/MCResultMethods.r

newMCResultR Documentation

MCResult Object Constructor with Matrix in Wide Format as Input

Description

MCResult Object Constructor with Matrix in Wide Format as Input

Usage

newMCResult(
  wdata,
  para,
  sample.names = NULL,
  method.names = NULL,
  regmeth = "Unknown",
  cimeth,
  error.ratio,
  alpha = 0.05,
  weight = rep(1, nrow(wdata))
)

Arguments

wdata

measurement data in matrix format. First column reference method (x), second column test method (y).

para

regression parameters in matrix form. Rows: Intercept, Slope. Cols: EST, SE, LCI, UCI.

sample.names

names of individual data points, e.g. barcodes of measured samples.

method.names

names of reference and test method.

regmeth

name of statistical method used for regression.

cimeth

name of statistical method used for computing confidence intervals.

error.ratio

ratio between standard deviation of reference and test method.

alpha

numeric value specifying the 100(1-alpha)% confidence level of confidence intervals (Default is 0.05).

weight

numeric vector specifying the weights used for each point

Value

MCResult object containing regression results.


mcr documentation built on Oct. 11, 2023, 5:14 p.m.