.validatePlotParams {CellTrails} | R Documentation

## Validates parameter settings for plot methods

### Description

Validates parameter settings for plot methods

### Usage

    .validatePlotParams(x, color_by, name)

### Arguments

`x` | A `SingleCellExperiment` object
`color_by` | Color_by parameter
`name` | Name parameter

### Details

Parameter `color_by` needs to be in 'featureName', 'phenoName'. Parameter `name` needs to be existent in rownames(object) or in colnames(colData(object)), state, landmark. If parameters were validated true, this function automatically extracts and returns the values. Character vectors get converted to factors.

### Value

A `list` with the parameters and values

### Author(s)

Daniel C. Ellwanger

[Package CellTrails version 1.10.0 Index]