Next changeset 1:4e73ea176c34 (2021-07-18) |
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgcca commit 00f9e92845737e05a4afb1c93043f35b7e4ea771" |
added:
launcher.R macro.xml rgcca.xml test-data/1block/ave.pdf test-data/1block/corcircle.pdf test-data/1block/design.pdf test-data/1block/individuals.pdf test-data/1block/rgcca.result.RData test-data/1block/top_variables.pdf test-data/2blocks/ave.pdf test-data/2blocks/corcircle.pdf test-data/2blocks/design.pdf test-data/2blocks/individuals.pdf test-data/2blocks/rgcca.result.RData test-data/2blocks/top_variables.pdf test-data/3blocks/ave.pdf test-data/3blocks/corcircle.pdf test-data/3blocks/design.pdf test-data/3blocks/individuals.pdf test-data/3blocks/rgcca.result.RData test-data/3blocks/top_variables.pdf test-data/3blocks_connection/ave.pdf test-data/3blocks_connection/corcircle.pdf test-data/3blocks_connection/design.pdf test-data/3blocks_connection/individuals.pdf test-data/3blocks_connection/rgcca.result.RData test-data/3blocks_connection/top_variables.pdf test-data/3blocks_sgcca/ave.pdf test-data/3blocks_sgcca/corcircle.pdf test-data/3blocks_sgcca/design.pdf test-data/3blocks_sgcca/individuals.pdf test-data/3blocks_sgcca/rgcca.result.RData test-data/3blocks_sgcca/top_variables.pdf test-data/3blocks_supervised/ave.pdf test-data/3blocks_supervised/corcircle.pdf test-data/3blocks_supervised/design.pdf test-data/3blocks_supervised/individuals.pdf test-data/3blocks_supervised/rgcca.result.RData test-data/3blocks_supervised/top_variables.pdf test-data/agriculture.tsv test-data/connection.tsv test-data/industry.tsv test-data/politic.tsv test-data/political_system.tsv |
b |
diff -r 000000000000 -r 067d45e6caa9 launcher.R --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/launcher.R Tue Jan 12 10:12:04 2021 +0000 |
[ |
b'@@ -0,0 +1,528 @@\n+# Author: Etienne CAMENEN\n+# Date: 2020\n+# Contact: arthur.tenenhaus@centralesupelec.fr\n+# Key-words: omics, RGCCA, multi-block\n+# EDAM operation: analysis, correlation, visualisation\n+#\n+# Abstract: Performs multi-variate analysis (PCA, CCA, PLS, R/SGCCA, etc.)\n+# and produces textual and graphical outputs (e.g. variables and individuals\n+# plots).\n+\n+rm(list = ls())\n+graphics.off()\n+separator <- NULL\n+\n+########## Arguments ##########\n+\n+# Parse the arguments from a command line launch\n+get_args <- function() {\n+ option_list <- list(\n+ # File parameters\n+ make_option(\n+ opt_str = c("-d", "--datasets"),\n+ type = "character",\n+ metavar = "path list",\n+ help = "List of comma-separated file paths corresponding to the\n+ blocks to be analyzed (one per block and without spaces between\n+ them; e.g., path/file1.txt,path/file2.txt) [required]"\n+ ),\n+ make_option(\n+ opt_str = c("-c", "--connection"),\n+ type = "character",\n+ metavar = "path",\n+ help = "Path of the file defining the connections between the blocks\n+ [if not used, activates the superblock mode]"\n+ ),\n+ make_option(\n+ opt_str = "--group",\n+ type = "character",\n+ metavar = "path",\n+ help = "Path of the file coloring the individuals in the ad hoc\n+ plot"\n+ ),\n+ make_option(\n+ opt_str = c("-r", "--response"),\n+ type = "integer",\n+ metavar = "integer",\n+ help = "Position of the response file for the supervised mode within\n+ the block path list [actives the supervised mode]"\n+ ),\n+ make_option(\n+ opt_str = "--names",\n+ type = "character",\n+ metavar = "character list",\n+ help = "List of comma-separated block names to rename them (one per\n+ block; without spaces between them) [default: the block file names]"\n+ ),\n+ make_option(\n+ opt_str = c("-H", "--header"),\n+ type = "logical",\n+ action = "store_false",\n+ help = "DO NOT consider the first row as the column header"\n+ ),\n+ make_option(\n+ opt_str = "--separator",\n+ type = "integer",\n+ metavar = "integer",\n+ default = opt[1],\n+ help = "Character used to separate columns (1: tabulation,\n+ 2: semicolon, 3: comma) [default: %default]"\n+ ),\n+ # Analysis parameter\n+ make_option(\n+ opt_str = "--type",\n+ type = "character",\n+ metavar = "character",\n+ default = opt[2],\n+ help = "Type of analysis [default: %default] (among: rgcca, pca,\n+ cca, gcca, cpca-w, hpca, maxbet-b, maxbet, maxdiff-b, maxdiff,\n+ maxvar-a, maxvar-b, maxvar, niles, r-maxvar, rcon-pca, ridge-gca,\n+ sabscor, ssqcor, ssqcor, ssqcov-1, ssqcov-2, ssqcov, sum-pca,\n+ sumcor, sumcov-1, sumcov-2, sumcov)"\n+ ),\n+ make_option(\n+ opt_str = "--ncomp",\n+ type = "character",\n+ metavar = "integer list",\n+ default = opt[3],\n+ help = "Number of components in the analysis for each block\n+ [default: %default]. The number should be higher than 1 and lower\n+ than the minimum number of variables among the blocks. It can be a\n+ single values or a comma-separated list (e.g 2,2,3,2)."\n+ ),\n+ make_option(\n+ opt_str = "--penalty",\n+ type = "character",\n+ metavar = "float list",\n+ default = opt[4],\n+ help = "For RGCCA, a regularization parameter for each block (i.e., tau)\n+ [default: %default]. Tau varies from 0 (maximizing the correlation)\n+ to 1 (maximizing the covariance). For SGCCA'..b'###### Main ##########\n+\n+# Get arguments : R packaging install, need an opt variable with associated\n+# arguments\n+opt <- list(\n+ separator = 1,\n+ type = "rgcca",\n+ ncomp = 2,\n+ penalty = 1,\n+ scheme = 2,\n+ block = 0,\n+ compx = 1,\n+ compy = 2,\n+ nmark = 100,\n+ o1 = "individuals.pdf",\n+ o2 = "corcircle.pdf",\n+ o3 = "top_variables.pdf",\n+ o4 = "ave.pdf",\n+ o5 = "design.pdf",\n+ o6 = "individuals.tsv",\n+ o7 = "variables.tsv",\n+ o8 = "rgcca_result.RData",\n+ datasets = paste0("inst/extdata/",\n+ c("agriculture", "industry", "politic"),\n+ ".tsv",\n+ collapse = ",")\n+)\n+\n+load_libraries(c("ggplot2", "optparse", "scales", "igraph", "MASS", "rlang", "Deriv"))\n+try(load_libraries("ggrepel"), silent = TRUE)\n+\n+tryCatch(\n+ opt <- check_arg(optparse::parse_args(get_args())),\n+ error = function(e) {\n+ if (length(grep("nextArg", e[[1]])) != 1)\n+ stop_rgcca(e[[1]], exit_code = 140)\n+ }, warning = function(w)\n+ stop_rgcca(w[[1]], exit_code = 141)\n+)\n+\n+# Load functions\n+all_funcs <- unclass(lsf.str(envir = asNamespace("RGCCA"), all = T))\n+for (i in all_funcs)\n+ eval(parse(text = paste0(i, "<-RGCCA:::", i)))\n+\n+# Set missing parameters by default\n+opt$header <- !("header" %in% names(opt))\n+opt$superblock <- !("superblock" %in% names(opt))\n+opt$scale <- !("scale" %in% names(opt))\n+opt$text <- !("text" %in% names(opt))\n+\n+status <- 0\n+tryCatch({\n+\n+ blocks <- load_blocks(opt$datasets, opt$names, opt$separator)\n+ group <- load_response(blocks, opt$group, opt$separator, opt$header)\n+ connection <- load_connection(file = opt$connection, separator = opt$separator)\n+\n+ func <- quote(\n+ rgcca(\n+ blocks = blocks,\n+ connection = connection,\n+ response = opt$response,\n+ superblock = opt$superblock,\n+ ncomp = opt$ncomp,\n+ scheme = opt$scheme,\n+ scale = opt$scale,\n+ type = opt$type\n+ )\n+ )\n+ if (tolower(opt$type) %in% c("sgcca", "spca", "spls")) {\n+ func[["sparsity"]] <- opt$penalty\n+ }else {\n+ func[["tau"]] <- opt$penalty\n+ }\n+\n+ rgcca_out <- eval(as.call(func))\n+\n+ opt <- post_check_arg(opt, rgcca_out)\n+\n+ ########## Plot ##########\n+\n+ if (rgcca_out$call$ncomp[opt$block] == 1 && is.null(opt$block_y)) {\n+ warning("With a number of component of 1, a second block should be chosen to perform an individual plot")\n+ } else {\n+ (\n+ individual_plot <- plot_ind(\n+ rgcca_out,\n+ group,\n+ opt$compx,\n+ opt$compy,\n+ opt$block,\n+ opt$text,\n+ opt$block_y,\n+ "Response"\n+ )\n+ )\n+ save_plot(opt$o1, individual_plot)\n+ }\n+\n+ if (rgcca_out$call$ncomp[opt$block] > 1) {\n+ (\n+ corcircle <- plot_var_2D(\n+ rgcca_out,\n+ opt$compx,\n+ opt$compy,\n+ opt$block,\n+ opt$text,\n+ n_mark = opt$nmark\n+ )\n+ )\n+ save_plot(opt$o2, corcircle)\n+ }\n+\n+ top_variables <- plot_var_1D(\n+ rgcca_out,\n+ opt$compx,\n+ opt$nmark,\n+ opt$block,\n+ type = "cor"\n+ )\n+ save_plot(opt$o3, top_variables)\n+\n+ # Average Variance Explained\n+ (ave <- plot_ave(rgcca_out))\n+ save_plot(opt$o4, ave)\n+\n+ # Creates design scheme\n+ design <- function() plot_network(rgcca_out)\n+ save_plot(opt$o5, design)\n+\n+ save_ind(rgcca_out, opt$compx, opt$compy, opt$o6)\n+ save_var(rgcca_out, opt$compx, opt$compy, opt$o7)\n+ save(rgcca_out, file = opt$o8)\n+\n+ }, error = function(e) {\n+ if (class(e)[1] %in% c("simpleError", "error", "condition"))\n+ status <<- 1\n+ else\n+ status <<- class(e)[1]\n+ message(e$message)\n+})\n+quit(status = status)\n' |
b |
diff -r 000000000000 -r 067d45e6caa9 macro.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/macro.xml Tue Jan 12 10:12:04 2021 +0000 |
b |
@@ -0,0 +1,44 @@ +<macros> + + <token name="@TOOL_VERSION@">3.0.0</token> + + <token name="@BLOCK_RULES@">1 corresponds to the first block, 2 corresponds to the second one, etc. This number should not be greater than the number of blocks selected.</token> + + <token name="@COMP_RULES@">This number should not be greater than the selected number of component (2, by default).</token> + + <xml name="output_tests" token_path="" token_compx="1" token_compy="2"> + <param name="output_selector" value="individuals,corcircle,top_variables,ave,design,individual_table,variable_table,rdata"/> + <output name="individual_plot" file="@PATH@/individuals.pdf" ftype="pdf"/> + <output name="top_variables" file="@PATH@/top_variables.pdf" ftype="pdf"/> + <output name="corcircle" file="@PATH@/corcircle.pdf" ftype="pdf"/> + <output name="ave" file="@PATH@/ave.pdf" ftype="pdf"/> + <output name="design" file="@PATH@/design.pdf" ftype="pdf"/> + <output name="rdata" file="@PATH@/rgcca.result.RData" compare="sim_size" delta="1000" ftype="rdata"/> + <output name="variable_table"> + <assert_contents> + <has_n_columns n="5"/> + <has_line_matching + expression='.*"cor.axis.@COMPX@"\s"cor.axis.@COMPY@"\s"weight.axis.@COMPX@"\s"weight.axis.@COMPY@".*\s"block"'/> + <has_line_matching + expression='^.+(\s\-?\d+.\d+){4}.+$'/> + </assert_contents> + </output> + </xml> + + <xml name="output_tests_3blocks"> + <param name="blocks" value="agriculture.tsv,industry.tsv,politic.tsv" ftype = "tsv"/> + <section name="analyse"> + <conditional name="tau"> + <param name="bool" value="false"/> + <param name="value" value="0.75"/> + </conditional> + <param name="scheme" value="4"/> + </section> + <assert_command> + <has_text text="--penalty 0.75"/> + <has_text text="--scheme 4"/> + </assert_command> + </xml> + +</macros> + |
b |
diff -r 000000000000 -r 067d45e6caa9 rgcca.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rgcca.xml Tue Jan 12 10:12:04 2021 +0000 |
[ |
b'@@ -0,0 +1,359 @@\n+<tool id="rgcca" name="RGCCA" version="@TOOL_VERSION@+galaxy0">\n+\n+ <description>performs multiblock data analysis of several sets of variables (blocks) observed on the same group of individuals.</description>\n+\n+ <macros>\n+ <import>macro.xml</import>\n+ </macros>\n+\n+ <edam_topics>\n+ <edam_topic>topic_2269</edam_topic>\n+ </edam_topics>\n+\n+ <edam_operations>\n+ <edam_operation>operation_2945</edam_operation>\n+ <edam_operation>operation_3465</edam_operation>\n+ <edam_operation>operation_0337</edam_operation>\n+ </edam_operations>\n+\n+ <requirements>\n+ <requirement type="package" version="@TOOL_VERSION@">rgccacmd</requirement>\n+ </requirements>\n+\n+ <command detect_errors="exit_code"><![CDATA[\n+ #set data_paths = ",".join([str(_.file_name) for _ in $blocks])\n+ #set data_names = ",".join([str(_.element_identifier).replace(\',\', \'_\') for _ in $blocks])\n+ Rscript \'$__tool_directory__/launcher.R\'\n+ --datasets \'${data_paths}\'\n+ --names \'${data_names}\'\n+ --o1 \'$individual_plot\' --o2 \'$corcircle\' --o3 \'$top_variables\' --o4 \'$ave\' --o5 \'$design\' --o6 \'$individual_table\' --o7 \'$variable_table\' --o8 \'$rdata\'\n+ $parse.header\n+ --separator $parse.separator\n+ $analyse.superblock\n+ $analyse.scale\n+ #if $analyse.tau.bool == \'false\'\n+ --penalty $analyse.tau.value\n+ #else\n+ --penalty $analyse.tau.bool\n+ #end if\n+ --ncomp $analyse.ncomp\n+ --scheme $analyse.scheme\n+ #if $analyse.method.family == \'1\'\n+ --type pca\n+ #else\n+ --type $analyse.method.type\n+ #end if\n+ #if $analyse.connection\n+ --connection $analyse.connection\n+ #end if\n+ #if $analyse.supervised.learning_mode == \'supervised\'\n+ --response $analyse.supervised.block_response\n+ #end if\n+ #if $graphic.response\n+ --group $graphic.response\n+ #end if\n+ --compx $graphic.compx\n+ --compy $graphic.compy\n+ --nmark $graphic.nmark\n+ $graphic.text\n+ --block $graphic.blockx\n+ --block_y $graphic.blocky\n+ ]]></command>\n+\n+ <inputs>\n+ <param name="blocks" type="data" format="tsv,tabular,txt,csv" multiple="true" optional="false" label = "Load blocks"\n+ help="TSV file containing a matrix with: (i) quantitative values only (decimal should be separated by \'.\'), (ii) the samples in lines (should be labelled in the 1rst column) and (iii) variables in columns (should have a header)."/>\n+\n+ <section name="parse" title="Advanced parsing" help="By default, on tabulated files with a header.">\n+ <param name="header" type="boolean" truevalue="" falsevalue="-H" checked="true" label="Consider the first row as header of columns" help="Used for both blocks and color files."/>\n+ <param name="separator" type="select" display="radio" label="Column separator" help="Character used to separate the column (for all blocks, connection and color files).">\n+ <option value="1" selected="true">Tabulation</option>\n+ <option value="2">Semicolon</option>\n+ </param>\n+ </section>\n+\n+ <section name="analyse" title="Advanced analysis"\n+ help="By default, the analysis: is a Regularised Generalised Canonical Correlation Analysis, scales the blocks, uses a superblock with a factorial scheme function, a tau equals to one and two components for each block.">\n+\n+ <param name="ncomp" type="integer" label="Number of component" value="2" min="2" max="5"\n+ help="The number of component to use in the analysis for each block (should not be greater than the minimum number of variable among the blocks)."/>\n+\n+ <param name="scale" type='..b'sert_command>\n+ <has_text text="--response 3"/>\n+ <has_text text="--superblock"/>\n+ </assert_command>\n+ </test>\n+\n+ <test expect_num_outputs="8" expect_exit_code="0">\n+ <expand macro="output_tests" path="3blocks"/>\n+ <expand macro="output_tests_3blocks"/>\n+ </test>\n+\n+ <test expect_num_outputs="8" expect_exit_code="0">\n+ <expand macro="output_tests" path="3blocks_sgcca"/>\n+ <expand macro="output_tests_3blocks"/>\n+ <section name="analyse">\n+ <conditional name="method">\n+ <param name="family" value="m"/>\n+ <param name="type" value="sgcca"/>\n+ </conditional>\n+ </section>\n+ <assert_command>\n+ <has_text text="sgcca"/>\n+ </assert_command>\n+ </test>\n+\n+ <test expect_num_outputs="8" expect_exit_code="0">\n+ <expand macro="output_tests" path="2blocks" compx="3" compy="1"/>\n+ <param name="blocks" value="agriculture.tsv,politic.tsv"/>\n+ <section name="analyse">\n+ <param name="scale" value="false"/>\n+ <conditional name="tau">\n+ <param name="bool" value="false"/>\n+ <param name="value" value="0"/>\n+ </conditional>\n+ <param name="scheme" value="3"/>\n+ <param name="ncomp" value="3"/>\n+ <conditional name="method">\n+ <param name="family" value="2"/>\n+ <param name="type" value="pls"/>\n+ </conditional>\n+ </section>\n+ <section name="graphic">\n+ <param name="response" value="political_system.tsv" ftype = "tsv"/>\n+ <param name="text" value="false"/>\n+ <param name="compx" value="3"/>\n+ <param name="compy" value="1"/>\n+ <param name="blockx" value="2"/>\n+ <param name="blocky" value="1"/>\n+ <param name="nmark" value="11"/>\n+ </section>\n+ <assert_command>\n+ <has_text text="pls"/>\n+ <has_text text="--group"/>\n+ </assert_command>\n+ </test>\n+\n+ </tests>\n+<help>\n+\n+==================================\n+ABOUT\n+==================================\n+\n+\n+**Author:**\n+Etienne CAMENEN\n+\n+\n+**Contact:**\n+arthur.tenenhaus@centralesupelec.fr\n+\n+\n+**R package:**\n+The RGCCA package is available from the CRAN repository (https://cran.r-project.org/web/packages/RGCCA).\n+\n+---------------------------------------------------\n+\n+==================================\n+R/SGCCA\n+==================================\n+\n+A user-friendly multi-blocks analysis (Regularized Generalized Canonical Correlation Analysis, RGCCA) as described in [1] and [2] with all default settings predefined. The software produces figures to explore the analysis\' results: individuals and variables projected on two components of the multi-block analysis, list of top variables and explained variance in the model.\n+\n+**Working example**\n+\n+ | From Russett data (RGCCA package): https://github.com/rgcca-factory/RGCCA/tree/master/inst/extdata\n+ | Use *agriculture.tsv* as a block. Add *industry.tsv* and *politic.tsv* as new blocks. *connection.tsv* could be used as a design matrix and *political_system.tsv* as a response variable respectively in analysis and graphic settings.\n+\n+**Documentation**\n+\n+- RGCCA: https://cran.r-project.org/web/packages/RGCCA/vignettes/vignette_RGCCA.pdf\n+- accepted input / output formats: https://github.com/rgcca-factory/RGCCA#input-files\n+<!-- - tutorial: https://github.com/BrainAndSpineInstitute/rgcca_galaxy/blob/release/0.2/README.md-->\n+\n+</help>\n+\n+ <citations>\n+ <citation type="doi">10.1007/s11336-017-9573-x</citation>\n+ <citation type="doi">10.1007/s11336-011-9206-8</citation>\n+ </citations>\n+\n+</tool>\n' |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/1block/ave.pdf |
b |
Binary file test-data/1block/ave.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/1block/corcircle.pdf |
b |
Binary file test-data/1block/corcircle.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/1block/design.pdf |
b |
Binary file test-data/1block/design.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/1block/individuals.pdf |
b |
Binary file test-data/1block/individuals.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/1block/rgcca.result.RData |
b |
Binary file test-data/1block/rgcca.result.RData has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/1block/top_variables.pdf |
b |
Binary file test-data/1block/top_variables.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/2blocks/ave.pdf |
b |
Binary file test-data/2blocks/ave.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/2blocks/corcircle.pdf |
b |
Binary file test-data/2blocks/corcircle.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/2blocks/design.pdf |
b |
Binary file test-data/2blocks/design.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/2blocks/individuals.pdf |
b |
Binary file test-data/2blocks/individuals.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/2blocks/rgcca.result.RData |
b |
Binary file test-data/2blocks/rgcca.result.RData has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/2blocks/top_variables.pdf |
b |
Binary file test-data/2blocks/top_variables.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks/ave.pdf |
b |
Binary file test-data/3blocks/ave.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks/corcircle.pdf |
b |
Binary file test-data/3blocks/corcircle.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks/design.pdf |
b |
Binary file test-data/3blocks/design.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks/individuals.pdf |
b |
Binary file test-data/3blocks/individuals.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks/rgcca.result.RData |
b |
Binary file test-data/3blocks/rgcca.result.RData has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks/top_variables.pdf |
b |
Binary file test-data/3blocks/top_variables.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_connection/ave.pdf |
b |
Binary file test-data/3blocks_connection/ave.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_connection/corcircle.pdf |
b |
Binary file test-data/3blocks_connection/corcircle.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_connection/design.pdf |
b |
Binary file test-data/3blocks_connection/design.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_connection/individuals.pdf |
b |
Binary file test-data/3blocks_connection/individuals.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_connection/rgcca.result.RData |
b |
Binary file test-data/3blocks_connection/rgcca.result.RData has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_connection/top_variables.pdf |
b |
Binary file test-data/3blocks_connection/top_variables.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_sgcca/ave.pdf |
b |
Binary file test-data/3blocks_sgcca/ave.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_sgcca/corcircle.pdf |
b |
Binary file test-data/3blocks_sgcca/corcircle.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_sgcca/design.pdf |
b |
Binary file test-data/3blocks_sgcca/design.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_sgcca/individuals.pdf |
b |
Binary file test-data/3blocks_sgcca/individuals.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_sgcca/rgcca.result.RData |
b |
Binary file test-data/3blocks_sgcca/rgcca.result.RData has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_sgcca/top_variables.pdf |
b |
Binary file test-data/3blocks_sgcca/top_variables.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_supervised/ave.pdf |
b |
Binary file test-data/3blocks_supervised/ave.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_supervised/corcircle.pdf |
b |
Binary file test-data/3blocks_supervised/corcircle.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_supervised/design.pdf |
b |
Binary file test-data/3blocks_supervised/design.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_supervised/individuals.pdf |
b |
Binary file test-data/3blocks_supervised/individuals.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_supervised/rgcca.result.RData |
b |
Binary file test-data/3blocks_supervised/rgcca.result.RData has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/3blocks_supervised/top_variables.pdf |
b |
Binary file test-data/3blocks_supervised/top_variables.pdf has changed |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/agriculture.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/agriculture.tsv Tue Jan 12 10:12:04 2021 +0000 |
b |
@@ -0,0 +1,48 @@ + gini farm rent +Argentina 86.3 98.2 3.52 +Australia 92.9 99.6 3.27 +Austria 74 97.4 2.46 +Belgium 58.7 85.8 4.15 +Bolivia 93.8 97.7 3.04 +Brasil 83.7 98.5 2.31 +Canada 49.7 82.9 2.1 +Chile 93.8 99.7 2.67 +Colombia 84.9 98.1 2.57 +CostaRica 88.1 99.1 1.86 +Cuba 79.2 97.8 4 +Denmark 45.8 79.3 1.5 +DominicanRepublic 79.5 98.5 3.08 +Ecuador 86.4 99.3 2.75 +Egypt 74 98.1 2.53 +Salvador 82.8 98.8 2.78 +Finland 59.9 86.3 1.22 +France 58.3 86.1 3.3 +Guatemala 86 99.7 2.89 +Greece 74.7 99.4 2.93 +Honduras 75.7 97.4 2.87 +India 52.2 86.9 3.99 +Irak 88.1 99.3 4.33 +Irland 59.8 85.9 1.25 +Italy 80.3 98 3.21 +Japan 47 81.5 1.36 +Libia 70 93 2.25 +Luxemburg 63.8 87.7 2.99 +TheNetherlands 60.5 86.2 3.99 +NewZealand 77.3 95.5 3.15 +Nicaragua 75.7 96.4 2.39 +Norway 66.9 87.5 2.14 +Panama 73.7 95 2.59 +Peru 87.5 96.9 2.61 +Philippine 56.4 88.2 3.65 +Poland 45 77.7 0 +SouthVietnam 67.1 94.6 3.04 +Spain 78 99.5 3.8 +Sweden 57.7 87.2 2.99 +Switzerland 49.8 81.5 2.99 +Taiwan 65.2 94.1 3.71 +UK 71 93.4 3.82 +USA 70.5 95.4 3.06 +Uruguay 81.7 96.6 3.58 +Venezuela 90.9 99.3 3.07 +WestGermany 67.4 93 1.9 +Yugoslavia 43.7 79.8 0 |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/connection.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/connection.tsv Tue Jan 12 10:12:04 2021 +0000 |
b |
@@ -0,0 +1,3 @@ +0 1 1 +1 0 1 +1 1 0 |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/industry.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/industry.tsv Tue Jan 12 10:12:04 2021 +0000 |
b |
@@ -0,0 +1,48 @@ + gnpr labo +Argentina 5.92 3.22 +Australia 7.1 2.64 +Austria 6.28 3.47 +Belgium 6.92 2.3 +Bolivia 4.19 4.28 +Brasil 5.57 4.11 +Canada 7.42 2.48 +Chile 5.19 3.4 +Colombia 5.8 4.01 +CostaRica 5.73 4.01 +Cuba 5.89 3.74 +Denmark 6.82 3.14 +DominicanRepublic 5.32 4.03 +Ecuador 5.32 3.97 +Egypt 4.89 4.16 +Salvador 5.5 4.14 +Finland 6.85 3.83 +France 6.95 3.26 +Guatemala 5.19 4.22 +Greece 5.48 3.87 +Honduras 4.92 4.19 +India 4.28 4.26 +Irak 5.27 4.39 +Irland 6.23 3.69 +Italy 6.09 3.37 +Japan 5.48 3.69 +Libia 4.5 4.32 +Luxemburg 7.09 3.14 +TheNetherlands 6.56 2.4 +NewZealand 7.14 2.77 +Nicaragua 5.54 4.22 +Norway 6.88 3.26 +Panama 5.86 3.99 +Peru 4.94 4.09 +Philippine 5.3 4.08 +Poland 6.15 4.04 +SouthVietnam 4.89 4.17 +Spain 5.54 3.91 +Sweden 7.06 2.56 +Switzerland 7.11 2.3 +Taiwan 4.88 3.91 +UK 6.91 1.61 +USA 7.76 2.3 +Uruguay 6.34 3.61 +Venezuela 6.64 3.74 +WestGermany 6.64 2.64 +Yugoslavia 5.69 4.2 |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/politic.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/politic.tsv Tue Jan 12 10:12:04 2021 +0000 |
b |
@@ -0,0 +1,48 @@ + inst ecks death demostab demoinst dictator +Argentina 0.07 4.06 5.38 0 1 0 +Australia 0.01 0 0 1 0 0 +Austria 0.03 1.61 0 0 1 0 +Belgium 0.45 2.2 0.69 1 0 0 +Bolivia 0.37 3.99 6.5 0 0 1 +Brasil 0.45 3.91 0.69 0 1 0 +Canada 0.01 3.14 0 1 0 0 +Chile 0.12 3.09 1.1 0 1 0 +Colombia 0.18 3.87 5.76 0 1 0 +CostaRica 0.18 3 3.22 0 1 0 +Cuba 0.07 4.62 7.97 0 0 1 +Denmark 0.18 0 0 1 0 0 +DominicanRepublic 0.01 1.95 3.47 0 0 1 +Ecuador 0.3 3.74 2.94 0 0 1 +Egypt 0.61 3.83 1.1 0 0 1 +Salvador 0.3 2.3 1.1 0 0 1 +Finland 0.5 1.61 0 0 1 0 +France 1 3.85 0.69 0 1 0 +Guatemala 0.25 3.83 4.06 0 0 1 +Greece 0.61 2.3 1.1 0 1 0 +Honduras 0.07 3.83 4.72 0 0 1 +India 0 4.43 2.71 1 0 0 +Irak 0.9 3.22 5.84 0 0 1 +Irland 0.12 2.3 0 1 0 0 +Italy 0.45 3.95 0.69 0 1 0 +Japan 0.55 3.14 0.69 0 1 0 +Libia 0.22 2.2 0 0 0 1 +Luxemburg 0.03 0 0 1 0 0 +TheNetherlands 0.07 1.1 0 1 0 0 +NewZealand 0.03 0 0 1 0 0 +Nicaragua 0.03 2.83 2.83 0 0 1 +Norway 0.03 0.69 0 1 0 0 +Panama 0.5 3.4 3.26 0 0 1 +Peru 0.18 3.18 3.3 0 0 1 +Philippine 0.1 2.77 5.68 0 0 1 +Poland 0 3 1.79 0 0 1 +SouthVietnam 0 3.93 6.91 0 0 1 +Spain 0 3.14 0.69 0 0 1 +Sweden 0 0 0 1 0 0 +Switzerland 0 0 0 1 0 0 +Taiwan 0 1.39 0 0 0 1 +UK 0.07 2.56 0 1 0 0 +USA 0.03 3.14 0 1 0 0 +Uruguay 0.18 0.69 0.69 1 0 0 +Venezuela 0.25 3.61 4.72 0 0 1 +WestGermany 0 1.61 0 0 1 0 +Yugoslavia 0 2.3 0 0 0 1 |
b |
diff -r 000000000000 -r 067d45e6caa9 test-data/political_system.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/political_system.tsv Tue Jan 12 10:12:04 2021 +0000 |
b |
@@ -0,0 +1,48 @@ + demostab demoinst dictator +Argentina 0 1 0 +Australia 1 0 0 +Austria 0 1 0 +Belgium 1 0 0 +Bolivia 0 0 1 +Brasil 0 1 0 +Canada 1 0 0 +Chile 0 1 0 +Colombia 0 1 0 +CostaRica 0 1 0 +Cuba 0 0 1 +Denmark 1 0 0 +DominicanRepublic 0 0 1 +Ecuador 0 0 1 +Egypt 0 0 1 +Salvador 0 0 1 +Finland 0 1 0 +France 0 1 0 +Guatemala 0 0 1 +Greece 0 1 0 +Honduras 0 0 1 +India 1 0 0 +Irak 0 0 1 +Irland 1 0 0 +Italy 0 1 0 +Japan 0 1 0 +Libia 0 0 1 +Luxemburg 1 0 0 +TheNetherlands 1 0 0 +NewZealand 1 0 0 +Nicaragua 0 0 1 +Norway 1 0 0 +Panama 0 0 1 +Peru 0 0 1 +Philippine 0 0 1 +Poland 0 0 1 +SouthVietnam 0 0 1 +Spain 0 0 1 +Sweden 1 0 0 +Switzerland 1 0 0 +Taiwan 0 0 1 +UK 1 0 0 +USA 1 0 0 +Uruguay 1 0 0 +Venezuela 0 0 1 +WestGermany 0 1 0 +Yugoslavia 0 0 1 |