dcSplitArch: Function to obtain a list of features via splitting an input...

Description Usage Arguments Value Note See Also Examples

View source: R/dcSplitArch.r

Description

dcSplitArch is supposed to obtain a list of features via splitting an input architecture.

Usage

1
2
3
dcSplitArch(da, feature.mode = c("supra", "individual", "comb"), sep =
",",
ignore = "_gap_", verbose = T)

Arguments

da

an input architecture. For example, a comma-separated string

feature.mode

the mode of how to define the features thereof. It can be: "supra" for combinations of one or two successive domains (including individual domains; considering the order), "individual" for individual domains only, and "comb" for all possible combinations (including individual domains; ignoring the order)

sep

a character string to separate. By default, it is comma ','

ignore

a character string to ignore. By default, it is '_gap_'. Ihis ignored character will affect the features defined as being 'supra' (see examples below)

verbose

logical to indicate whether the messages will be displayed in the screen. By default, it sets to TRUE for display

Value

a vector containing splitted features.

Note

none

See Also

dcAlgo, dcAlgoPredict

Examples

1
2
3
4
5
6
7
da <- "_gap_,100895,57610,_gap_,57610,47473"
# get features defined as being "supra"
dcSplitArch(da, feature.mode="supra")
# get features defined as being "individual"
dcSplitArch(da, feature.mode="individual")
# get features defined as being "comb"
dcSplitArch(da, feature.mode="comb")

dcGOR documentation built on May 2, 2019, 6:14 p.m.

Related to dcSplitArch in dcGOR...