ablandscape.fit: Fitting with antibody landscapes

View source: R/ablandscape_fit.R

ablandscape.fitR Documentation

Fitting with antibody landscapes

Description

Fit an antibody landscape to titers and antigen positions.

Usage

ablandscape.fit(
  titers,
  coords,
  bandwidth,
  degree,
  error.sd,
  control = list(),
  method = "loess",
  acmap = NULL
)

Arguments

titers

A vector of titers against each antigen.

coords

A matrix of the antigen coordinates of each antigen.

bandwidth

The bandwidth of the local regression.

degree

The degree of the polynomials to be used, normally 1 or 2.

control

Control parameters: see (ablandscape.control)

method

Fitting method to use, one of "loess" or "cone"


acorg/ablandscapes documentation built on March 4, 2024, 7:50 a.m.