feature {LINC} | R Documentation

## Manipulate Objects Of The 'LINC' class

### Description

`feature` provides useful options intended to be used with `'LINC'` objects.

### Usage

    feature(setLevel   = NULL,
            customID   = NULL,
            customCol  = "black",
            showLevels = FALSE)

### Arguments

`setLevel` | a `character` string of the class the object should be converted into
`customID` | a `character` string of a name for the object
`customCol` | a `character` string of a valid colour for the object
`showLevels` | whether to show the inherited classes of the object `TRUE` or not `FALSE`

### Details

Custom ids and colours enable the identification of a particular object in plots created by `plotlinc` and `querycluster`. With `setLevel` it is possible to change the class of an object.

`feature` works in combination with the plus operator: `'object' + feature(customID = ..., customCol = ...)`

### Value

an object of the class 'LINCfeature' (S4) with 5 `Slots` (not shown)

### Author(s)

Manuel Goepferich

### See Also

`querycluster` ; `strlinc`

### Examples

    data(BRAIN_EXPR)

    # add a custom name
    crbl_cluster_feat <- crbl_cluster + feature(customID = "CEREBELLUM")
     plotlinc(crbl_cluster_feat)

[Package LINC version 1.8.0 Index]