Learn R Programming

ORION (version 1.1.1)

projectData: 1D data projection

Description

Generation of 1-dimensional data mapping based on a selected pair of classes

Usage

projectData(dataset = NULL, comb = NULL)

Value

a list with components:

data

one-row-matrix consisting in the 1D mapped datapoints, columns describe each sample

labs

Numeric array describing the labels of the samples

oldLabs

Categorical array of labels

Arguments

dataset

list containing at least:

data

Numeric matrix (features x samples)

labs

Numeric vector of sample labels

name

(optional): dataset name

oldLabs

(optional): original categorical sample labels

comb

Numeric vector of length 2 specifying the classes for the data projection