dcSplitArch | R Documentation |
dcSplitArch
is supposed to obtain a list of features via
splitting an input architecture.
dcSplitArch( da, feature.mode = c("supra", "individual", "comb"), sep = ",", ignore = "_gap_", verbose = T )
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 |
a vector containing splitted features.
none
dcAlgo
, dcAlgoPredict
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.