editBaseline - Edit the Baseline object

Description

editBaseline edits a field in a Baseline object.

Usage

editBaseline(baseline, field, value)

Arguments

baseline
Baseline object to be edited.
field
name of the field in the Baseline object to be edited.
value
value to set the field.

Value

A Baseline object with the field of choice updated.

Examples

# Subset example data
data(ExampleDb, package="alakazam")
db <- subset(ExampleDb, ISOTYPE == "IgG" & SAMPLE == "+7d")

# Make Baseline object
baseline <- calcBaseline(db, 
sequenceColumn="SEQUENCE_IMGT",
germlineColumn="GERMLINE_IMGT_D_MASK", 
testStatistic="focused",
regionDefinition=IMGT_V,
targetingModel=HH_S5F,
nproc=1)

Calculating the expected frequencies of mutations...
Calculating BASELINe probability density functions...


# Edit the field "description"
baseline <- editBaseline(baseline, field="description", 
value="+7d IgG")

See also

See Baseline for the input and return object.