feature: Manipulate Objects Of The 'LINC' class

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/LINC_METHODS.R

Description

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

Usage

1
2
3
4
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

1
2
3
4
5
data(BRAIN_EXPR)

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

LINC documentation built on April 28, 2020, 6:44 p.m.