|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- {
- "fields": [
- {
- "key": "name",
- "dataIndex": "name",
- "valueType": "text",
- "title": "Name",
- "tooltip": "The name of the corrplot chart.",
- "formItemProps": {
- "initialValue": "corrplot",
- "rules": [
- {
- "required": true,
- "message": "Please enter the name."
- }
- ]
- }
- },
- {
- "key": "datafile",
- "dataIndex": "datafile",
- "valueType": "select",
- "title": "Data File",
- "tooltip": "Where is the data?",
- "valueEnum": "#{{{toselect datafile }}}#",
- "formItemProps": {
- "rules": [
- {
- "required": true,
- "message": "Please load file firstly."
- }
- ]
- }
- },
- {
- "key": "corr_vars",
- "dataIndex": "corr_vars",
- "valueType": "select",
- "title": "Correlation Variables",
- "tooltip": "Which variables do you want to analyze?",
- "valueEnum": "#{{{tojson columns }}}#",
- "fieldProps": {
- "mode": "multiple"
- },
- "formItemProps": {
- "rules": [
- {
- "required": true,
- "message": "Please select several variables."
- }
- ]
- }
- },
- {
- "key": "method",
- "dataIndex": "method",
- "valueType": "select",
- "title": "Method",
- "tooltip": "The visualization method of correlation matrix to be used. Allowed values are square (default), circle.",
- "valueEnum": {
- "square": {
- "text": "Square"
- },
- "circle": {
- "text": "Circle"
- }
- },
- "formItemProps": {
- "initialValue": "square"
- }
- },
- {
- "key": "corr_type",
- "dataIndex": "corr_type",
- "valueType": "select",
- "title": "Correlation Type",
- "tooltip": "full (default), lower or upper display.",
- "valueEnum": {
- "full": {
- "text": "Full"
- },
- "lower": {
- "text": "Lower"
- },
- "upper": {
- "text": "Upper"
- }
- },
- "formItemProps": {
- "initialValue": "full"
- }
- },
- {
- "key": "hc_method",
- "dataIndex": "hc_method",
- "valueType": "select",
- "title": "Cluster Method",
- "tooltip": "The agglomeration method to be used in hclust (see ?hclust).",
- "valueEnum": {
- "ward.D": {
- "text": "ward.D"
- },
- "ward.D2": {
- "text": "ward.D2"
- },
- "single": {
- "text": "single"
- },
- "complete": {
- "text": "complete"
- },
- "average": {
- "text": "average"
- },
- "mcquitty": {
- "text": "mcquitty"
- },
- "median": {
- "text": "median"
- },
- "centroid": {
- "text": "centroid"
- }
- },
- "formItemProps": {
- "initialValue": "complete"
- }
- },
- {
- "key": "hc_order",
- "dataIndex": "hc_order",
- "valueType": "switch",
- "title": "Cluster Ordered",
- "tooltip": "Logical value. If TRUE, correlation matrix will be hc.ordered using hclust function.",
- "formItemProps": {
- "initialValue": true
- }
- },
- {
- "key": "sig_level",
- "dataIndex": "sig_level",
- "valueType": "switch",
- "title": "Significant Level",
- "tooltip": "Significant level, greater than 0 and less than 1.",
- "fieldProps": {
- "step": 0.01
- },
- "formItemProps": {
- "initialValue": 0.05
- }
- },
- {
- "key": "description",
- "dataIndex": "description",
- "valueType": "textarea",
- "title": "Description",
- "tooltip": "The description of the corrplot chart.",
- "formItemProps": {
- "initialValue": "Make a correlation plot."
- }
- }
- ],
- "dataKey": {
- "data": "Data"
- },
- "examples": [
- {
- "title": "Example 1",
- "key": "example-1",
- "datafile": "",
- "arguments": {
- "corr_vars": [
- "mpg",
- "cyl",
- "disp",
- "hp",
- "drat",
- "wt",
- "qsec",
- "vs",
- "am",
- "gear",
- "carb"
- ],
- "sig_level": 0.05,
- "hc_order": true,
- "hc_method": "complete",
- "corr_type": "full",
- "method": "square"
- }
- }
- ]
- }
|