Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Statistics", "Data analysis"], "description": "Fit multivariate ordinary least-squares regression with an intercept.", "documentation": {"example_job": "name: Fit multivariate ordinary least-squares regression with an intercept.\nsteps:\n- id: read\n  operator: read_item@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/linear_regression.txt\n    view: bytes\n- id: process\n  operator: galaxy_linear_regression@1.0\n  inputs:\n    source: read\n  params: {}\noutputs:\n  result: process\n", "inputs": {"source": "UTF-8 bytes stream. Modified Gram-Schmidt with reorthogonalization, centered/scaled predictors; rejects rank deficiency. Coefficients and R-squared, no inferential p-values. Strict headerless numeric TSV; finite values of magnitude <=1e12, <=10000 rows,128 columns,8 MiB characters. Missing/non-numeric data rejected; no R subprocesses or PDF diagnostics."}, "outputs": {"result": "Fit multivariate ordinary least-squares regression with an intercept. Modified Gram-Schmidt with reorthogonalization, centered/scaled predictors; rejects rank deficiency. Coefficients and R-squared, no inferential p-values. Strict headerless numeric TSV; finite values of magnitude <=1e12, <=10000 rows,128 columns,8 MiB characters. Missing/non-numeric data rejected; no R subprocesses or PDF diagnostics."}, "parameters": {"predictor_columns": {"description": "Unique numeric predictors, response excluded.", "example": [1], "help": "Unique numeric predictors, response excluded. Modified Gram-Schmidt with reorthogonalization, centered/scaled predictors; rejects rank deficiency. Coefficients and R-squared, no inferential p-values. Strict headerless numeric TSV; finite values of magnitude <=1e12, <=10000 rows,128 columns,8 MiB characters. Missing/non-numeric data rejected; no R subprocesses or PDF diagnostics."}, "response_column": {"description": "One-based numeric response column.", "example": 2, "help": "One-based numeric response column. Modified Gram-Schmidt with reorthogonalization, centered/scaled predictors; rejects rank deficiency. Coefficients and R-squared, no inferential p-values. Strict headerless numeric TSV; finite values of magnitude <=1e12, <=10000 rows,128 columns,8 MiB characters. Missing/non-numeric data rejected; no R subprocesses or PDF diagnostics."}}}, "entrypoint": "xstream.galaxy.LinearRegression", "fixture": {"data": "0\t1\n1\t3\n2\t5\n3\t7\n", "expected": "term\tcoefficient\nintercept\t1.000000\ncolumn_1\t2.000000\nr_squared\t1.000000\n", "params": {}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "implementation": "StatisticalScience", "inputs": {"source": {"formats": [], "representations": ["bytes"]}}, "name": "galaxy_linear_regression", "parameters": {"additionalProperties": false, "properties": {"predictor_columns": {"default": [1], "description": "Unique numeric predictors, response excluded.", "items": {"maximum": 128, "minimum": 1, "type": "integer"}, "maxItems": 16, "type": "array"}, "response_column": {"default": 2, "description": "One-based numeric response column.", "maximum": 128, "minimum": 1, "type": "integer"}}, "required": [], "type": "object"}, "params": {}, "scope": "Modified Gram-Schmidt with reorthogonalization, centered/scaled predictors; rejects rank deficiency. Coefficients and R-squared, no inferential p-values. Strict headerless numeric TSV; finite values of magnitude <=1e12, <=10000 rows,128 columns,8 MiB characters. Missing/non-numeric data rejected; no R subprocesses or PDF diagnostics.", "upstream": {"path": "tools/rpy_statistics_collection/linear_regression.xml", "repository": "https://github.com/bgruening/galaxytools"}, "version": "1.0"}