Convert legacy bioRad objects (vp, vpts) that have become obsolete and make them compatible with the current bioRad version.

convert_legacy(x)

# S3 method for vp
convert_legacy(x)

# S3 method for vpts
convert_legacy(x)

Arguments

x

A vp or vpts object.

Value

An updated object of the same class as the input.

Examples

# Convert a vp object vp <- example_vp vp <- convert_legacy(vp) # Convert a vpts object vpts <- example_vpts vpts <- convert_legacy(vpts)