mainNames {ORFik} | R Documentation

## Get main name from variant name

### Description

Used to standardize nomeclature for experiments.
Example: RFP is main naming, but a variant is ribo-seq ribo-seq will then be renamed to RFP

### Usage

    mainNames(names, dt)

### Arguments

`names` | a character vector of names that must exist in dt$allNames
`dt` | a data.table with 2 columns (mainName, allNames)

### Value

a data.table with 2 columns, the main name, and all name variants of the main name in second column as a list.

### See Also

Other experiment_naming: `batchNames()`, `cellLineNames()`, `conditionNames()`, `fractionNames()`, `inhibitorNames()`, `libNames()`, `repNames()`, `stageNames()`, `tissueNames()`

[Package ORFik version 1.12.13 Index]