It is used to investigate the dependence between multiple variables at the same time and to highlight the most correlated variables in a data table.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

162 lines
3.9KB

  1. {
  2. "title": "Correlation Plot",
  3. "maintainer": "Jingcheng Yang",
  4. "description": "Correlation plots can be used to quickly find insights. It is used to investigate the dependence between multiple variables at the same time and to highlight the most correlated variables in a data table.",
  5. "logo": "https://store-images.s-microsoft.com/image/apps.30079.0034b9fb-e1fa-4c69-b5b7-de0750ba3098.c645c7e3-2d23-4418-9288-0bd1322b1070.9112ecd7-1c16-4a37-ab49-a5b2c2b61542.png",
  6. "version": "v0.1.0",
  7. "readme": "http: //nordata-cdn.oss-cn-shanghai.aliyuncs.com/test.md",
  8. "tags": [
  9. "R",
  10. "Chart"
  11. ],
  12. "fields": [
  13. {
  14. "key": "corr_vars",
  15. "dataIndex": "corr_vars",
  16. "valueType": "select",
  17. "title": "Correlation Variables",
  18. "tooltip": "Which variables do you want to analyze?",
  19. "valueEnum": {{ columns }},
  20. "fieldProps": {
  21. "mode": "multiple",
  22. },
  23. "formItemProps": {
  24. "rules": [
  25. {
  26. "required": true,
  27. "message": "Please select several variables."
  28. }
  29. ]
  30. }
  31. },
  32. {
  33. "key": "method",
  34. "dataIndex": "method",
  35. "valueType": "select",
  36. "title": "Method",
  37. "tooltip": "The visualization method of correlation matrix to be used. Allowed values are square (default), circle.",
  38. "valueEnum": {
  39. "square": {
  40. "text": "Square"
  41. },
  42. "circle": {
  43. "text": "Circle"
  44. }
  45. },
  46. "formItemProps": {
  47. "initialValue": "square"
  48. }
  49. },
  50. {
  51. "key": "corr_type",
  52. "dataIndex": "corr_type",
  53. "valueType": "select",
  54. "title": "Correlation Type",
  55. "tooltip": "full (default), lower or upper display.",
  56. "valueEnum": {
  57. "full": {
  58. "text": "Full"
  59. },
  60. "lower": {
  61. "text": "Lower"
  62. },
  63. "upper": {
  64. "text": "Upper"
  65. }
  66. },
  67. "formItemProps": {
  68. "initialValue": "full"
  69. }
  70. },
  71. {
  72. "key": "hc_method",
  73. "dataIndex": "hc_method",
  74. "valueType": "select",
  75. "title": "Cluster Method",
  76. "tooltip": "The agglomeration method to be used in hclust (see ?hclust).",
  77. "valueEnum": {
  78. "ward.D": {
  79. "text": "ward.D"
  80. },
  81. "ward.D2": {
  82. "text": "ward.D2"
  83. },
  84. "single": {
  85. "text": "single"
  86. },
  87. "complete": {
  88. "text": "complete"
  89. },
  90. "average": {
  91. "text": "average"
  92. },
  93. "mcquitty": {
  94. "text": "mcquitty"
  95. },
  96. "median": {
  97. "text": "median"
  98. },
  99. "centroid": {
  100. "text": "centroid"
  101. }
  102. },
  103. "formItemProps": {
  104. "initialValue": "complete"
  105. }
  106. },
  107. {
  108. "key": "hc_order",
  109. "dataIndex": "hc_order",
  110. "valueType": "switch",
  111. "title": "Cluster Ordered",
  112. "tooltip": "Logical value. If TRUE, correlation matrix will be hc.ordered using hclust function.",
  113. "formItemProps": {
  114. "initialValue": true
  115. }
  116. },
  117. {
  118. "key": "sig_level",
  119. "dataIndex": "sig_level",
  120. "valueType": "switch",
  121. "title": "Cluster Ordered",
  122. "tooltip": "Significant level, greater than 0 and less than 1."
  123. "fieldProps": {
  124. "step": 0.01
  125. },
  126. "formItemProps": {
  127. "initialValue": 0.05
  128. }
  129. }
  130. ],
  131. "dataKey": {
  132. "annoData": "Anno",
  133. "data": "Data"
  134. },
  135. "examples": [
  136. {
  137. "title": "Example 1",
  138. "key": "example-1",
  139. "datafile": "",
  140. "arguments": {
  141. "corr_vars": [
  142. "mpg",
  143. "cyl",
  144. "disp",
  145. "hp",
  146. "drat",
  147. "wt",
  148. "qsec",
  149. "vs",
  150. "am",
  151. "gear",
  152. "carb"
  153. ],
  154. "sig_level": 0.05,
  155. "hc_order": true,
  156. "hc_method": "complete",
  157. "corr_type": "full",
  158. "method": "square"
  159. }
  160. }
  161. ]
  162. }