annotate center_scale.R @ 3:b7daf62bde65 draft default tip

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
author artbio
date Thu, 07 Nov 2024 18:54:17 +0000
parents 163befe5f05b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
1 options(
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
2 show.error.messages = FALSE,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
3 error = function() {
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
4 cat(geterrmessage(), file = stderr())
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
5 q("no", 1, FALSE)
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
6 }
2
163befe5f05b planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 41ba5435a8ad12c1fe0703a9ce44b759003f3f73
artbio
parents: 1
diff changeset
7 )
0
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
8 loc <- Sys.setlocale("LC_MESSAGES", "en_US.UTF-8")
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
9 warnings()
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
10 library(optparse)
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
11
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
12 # Arguments
2
163befe5f05b planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 41ba5435a8ad12c1fe0703a9ce44b759003f3f73
artbio
parents: 1
diff changeset
13 option_list <- list(
3
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
14 make_option(
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
15 "--data",
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
16 default = NA,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
17 type = "character",
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
18 help = "Input file that contains values to transform. Must be tabular separated,
0
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
19 with columns and row names, variables in rows, observations in columns [default : '%default' ]"
3
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
20 ),
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
21 make_option(
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
22 "--center",
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
23 default = TRUE,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
24 type = "logical",
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
25 help = "center data to the mean [default : '%default' ]"
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
26 ),
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
27 make_option(
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
28 "--scale",
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
29 default = TRUE,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
30 type = "logical",
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
31 help = "scale data to standard deviation [default : '%default' ]"
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
32 ),
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
33 make_option(
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
34 "--factor",
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
35 default = "",
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
36 type = "character",
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
37 help = "A two-column observations|factor_levels table, to group observations to be transformed by levels [default : '%default' ]"
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
38 ),
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
39 make_option(
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
40 "--output",
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
41 default = "res.tab",
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
42 type = "character",
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
43 help = "Table of transformed values [default : '%default' ]"
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
44 )
0
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
45 )
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
46
2
163befe5f05b planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 41ba5435a8ad12c1fe0703a9ce44b759003f3f73
artbio
parents: 1
diff changeset
47 transform <- function(df, center = TRUE, scale = TRUE) {
3
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
48 transfo <- scale(t(df),
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
49 center = center,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
50 scale = scale
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
51 )
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
52 return(as.data.frame(t(transfo)))
0
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
53 }
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
54
2
163befe5f05b planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 41ba5435a8ad12c1fe0703a9ce44b759003f3f73
artbio
parents: 1
diff changeset
55 opt <- parse_args(OptionParser(option_list = option_list),
3
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
56 args = commandArgs(trailingOnly = TRUE)
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
57 )
0
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
58
2
163befe5f05b planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 41ba5435a8ad12c1fe0703a9ce44b759003f3f73
artbio
parents: 1
diff changeset
59 data <- read.delim(
3
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
60 opt$data,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
61 check.names = FALSE,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
62 header = TRUE,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
63 row.names = 1,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
64 sep = "\t"
0
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
65 )
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
66
2
163befe5f05b planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 41ba5435a8ad12c1fe0703a9ce44b759003f3f73
artbio
parents: 1
diff changeset
67 if (opt$factor != "") {
3
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
68 data_factor <- read.delim(
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
69 opt$factor,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
70 check.names = FALSE,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
71 header = TRUE,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
72 sep = "\t",
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
73 stringsAsFactors = TRUE
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
74 )
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
75 colnames(data_factor) <- c("cellid", "level")
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
76 data_transformed <- data.frame(row.names = rownames(data))
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
77 for (group in levels(data_factor$level)) {
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
78 subcells <- as.data.frame(subset(data_factor, level == group, select = cellid))
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
79 subdata <- as.data.frame(subset(data, select = as.vector(subcells$cellid)))
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
80 subdata_transformed <- transform(subdata,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
81 center = as.logical(opt$center),
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
82 scale = as.logical(opt$scale)
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
83 )
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
84 data_transformed <- cbind(data_transformed, subdata_transformed)
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
85 }
0
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
86 } else {
3
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
87 data_transformed <- transform(data,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
88 center = as.logical(opt$center),
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
89 scale = as.logical(opt$scale)
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
90 )
0
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
91 }
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
92
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
93
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
94 write.table(
3
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
95 cbind(gene = rownames(data_transformed), data_transformed),
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
96 opt$output,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
97 col.names = TRUE,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
98 row.names = FALSE,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
99 quote = FALSE,
b7daf62bde65 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/gsc_center_scale commit 44d7e1048de3a58983e0559581264147090fefb0
artbio
parents: 2
diff changeset
100 sep = "\t"
0
bcbd7179d8ec planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_center_scale commit b839b440f0760ff9cd75969d418432702947a669
artbio
parents:
diff changeset
101 )