Learn R Programming

rliger (version 1.0.1)

convertOldLiger: Convert older liger object into most current version (based on class definition)

Description

Also works for Analogizer objects (but must have both liger and Analogizer loaded). Transfers data in slots with same names from old class object to new, leaving slots defined only in new class NULL.

Usage

convertOldLiger(object, override.raw = FALSE, verbose = TRUE)

Value

Updated liger object.

Arguments

object

liger object.

override.raw

Keep original raw.data without any modifications (removing missing cells etc.) (defualt FALSE).

verbose

Print progress bar/messages (TRUE by default)

Examples

Run this code
if (FALSE) {
# Not able to generate old object from current version, thus not run
ligerex <- convertOldLiger(analogy)
}

Run the code above in your browser using DataLab