annotate FlowSOMGenerateTree.R @ 2:0efc47dba930 draft default tip

planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
author azomics
date Fri, 29 Sep 2023 07:20:10 +0000
parents 54a25f1139b4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
1 #!/usr/bin/env Rscript
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
2 # Module for Galaxy
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
3 # Generates FlowSOM reference tree
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
4 # with FlowSOM AggregateFlowFrames
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
5 ######################################################################
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
6 # Copyright (c) 2017 Northrop Grumman.
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
7 # All rights reserved.
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
8 ######################################################################
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
9 #
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
10 # Version 1
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
11 # Cristel Thomas
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
12 #
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
13 #
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
14 library(FlowSOM)
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
15 library(flowCore)
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
16
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
17 generate_tree <- function(ff, output = "", columns = list(),
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
18 cluster = 10, xgrid = 10,
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
19 ygrid = 10, plot = "", plot_pdf = FALSE,
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
20 mplot = "", flag_def = TRUE,
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
21 table = "", mtable = "",
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
22 flag_meta = FALSE, user_seed = 42,
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
23 flag_nodesize = FALSE) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
24
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
25 # check default -- if def get all except FSC / SSC
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
26 # also check nb of markers / channels and indices
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
27 markers <- colnames(ff)
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
28 print_markers <- as.vector(pData(parameters(ff))$desc)
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
29 # Update print_markers if the $P?S not in the FCS file
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
30 for (i in seq_along(print_markers)) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
31 if (is.na(print_markers[i])) {
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
32 print_markers[i] <- markers[i]
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
33 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
34 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
35
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
36 if (flag_def) {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
37 channels_to_exclude <- c(grep(markers, pattern = "FSC"),
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
38 grep(markers, pattern = "SSC"),
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
39 grep(markers, pattern = "Time"))
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
40 columns <- markers[-channels_to_exclude]
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
41 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
42
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
43 set.seed(user_seed)
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
44 fs <- ReadInput(ff, compensate = FALSE, transform = FALSE, scale = TRUE)
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
45 fs <- BuildSOM(fs, colsToUse = columns, xdim = xgrid, ydim = ygrid)
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
46 fst <- BuildMST(fs, tSNE = TRUE)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
47
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
48 if (!mplot == "") {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
49 pdf(mplot, useDingbats = FALSE, onefile = TRUE)
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
50 for (marker in markers) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
51 PlotMarker(fst, marker)
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
52 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
53 dev.off()
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
54 }
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
55 meta_c <- metaClustering_consensus(
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
56 fst$map$codes,
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
57 k = cluster,
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
58 seed = user_seed)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
59
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
60 if (!plot == "") {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
61 if (flag_nodesize) {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
62 fst <- UpdateNodeSize(fst, reset = TRUE)
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
63 fst$MST$size <- fst$MST$size / 2
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
64 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
65 if (plot_pdf) {
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
66 pdf(plot, useDingbats = FALSE)
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
67 PlotStars(fst, backgroundValues = as.factor(meta_c))
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
68 dev.off()
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
69 } else {
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
70 png(plot, type = "cairo", height = 800, width = 800)
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
71 PlotStars(fst, backgroundValues = as.factor(meta_c))
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
72 dev.off()
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
73 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
74 }
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
75 if (!table == "") {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
76 m <- matrix(0, nrow = nrow(ff), ncol = 1)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
77 s <- seq_len(nrow(ff))
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
78 if (flag_meta) {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
79 m[s, ] <- meta_c[fst$map$mapping[, 1]]
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
80 } else {
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
81 m[s, ] <- fst$map$mapping[, 1]
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
82 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
83 colnames(m) <- "FlowSOM"
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
84 ff <- cbind2(ff, m)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
85 out <- exprs(ff)
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
86 print_markers <- append(print_markers, "Population")
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
87 colnames(out) <- print_markers
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
88 write.table(out, file = table, quote = FALSE,
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
89 row.names = FALSE, col.names = TRUE, sep = "\t",
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
90 append = FALSE)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
91
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
92 nb_nodes <- max(fst$map$mapping[, 1])
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
93 mm <- matrix(0, nrow = nb_nodes, ncol = 2)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
94 ss <- seq_len(nb_nodes)
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
95 mm[, 1] <- as.character(ss)
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
96 mm[ss, 2] <- as.character(meta_c)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
97 colnames(mm) <- c("Node", "Meta-Cluster")
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
98 write.table(mm, file = mtable, quote = FALSE,
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
99 row.names = FALSE, col.names = TRUE, sep = "\t",
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
100 append = FALSE)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
101
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
102 }
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
103 saveRDS(fst, file = output)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
104 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
105
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
106 flow_frame_or_fcs <- function(input, output = "", columns = list(),
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
107 cluster = 10, xgrid = 10,
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
108 ygrid = 10, plot = "", plot_pdf = FALSE,
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
109 mplot = "", default = TRUE,
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
110 table = "", mtable = "",
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
111 flag_meta = FALSE, user_seed = 42,
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
112 nodesize = FALSE) {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
113 is_fcs <- FALSE
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
114 is_ff <- FALSE
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
115 ff <- ""
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
116 tryCatch({
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
117 is_fcs <- isFCSfile(input)
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
118 }, error = function(ex) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
119 print(paste(ex))
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
120 })
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
121
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
122 if (!is_fcs) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
123 tryCatch({
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
124 ff <- readRDS(input)
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
125 is_ff <- TRUE
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
126 }, error = function(ex) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
127 print(paste(ex))
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
128 })
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
129 } else {
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
130 ff <- read.FCS(input, transformation = FALSE)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
131 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
132
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
133 if (!is_ff && !is_fcs) {
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
134 quit(save = "no", status = 10, runLast = FALSE)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
135 } else {
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
136 for (cols in columns) {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
137 if (cols > length(colnames(ff))) {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
138 quit(save = "no", status = 12, runLast = FALSE)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
139 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
140 }
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
141 generate_tree(ff, output, columns, cluster, xgrid, ygrid, plot, plot_pdf,
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
142 mplot, default, table, mtable, flag_meta, user_seed, nodesize)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
143 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
144 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
145
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
146 args <- commandArgs(trailingOnly = TRUE)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
147 flag_default <- FALSE
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
148 columns <- list()
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
149
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
150 if (args[3] == "" || args[3] == "i.e.:1,2,5") {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
151 flag_default <- TRUE
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
152 } else {
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
153 #rm last X if it's there
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
154 columns <- as.numeric(strsplit(args[3], ",")[[1]])
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
155 for (col in columns) {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
156 if (is.na(col)) {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
157 quit(save = "no", status = 11, runLast = FALSE)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
158 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
159 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
160 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
161
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
162 cluster <- 10
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
163 if (!args[4] == "") {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
164 if (!is.na(as.integer(args[4]))) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
165 cluster <- as.integer(args[4])
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
166 } else {
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
167 quit(save = "no", status = 13, runLast = FALSE)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
168 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
169 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
170
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
171 xgrid <- 10
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
172 if (!args[5] == "") {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
173 if (!is.na(as.integer(args[5]))) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
174 cluster <- as.integer(args[5])
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
175 } else {
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
176 quit(save = "no", status = 14, runLast = FALSE)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
177 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
178 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
179
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
180 ygrid <- 10
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
181 if (!args[6] == "") {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
182 if (!is.na(as.integer(args[6]))) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
183 cluster <- as.integer(args[6])
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
184 } else {
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
185 quit(save = "no", status = 14, runLast = FALSE)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
186 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
187 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
188 seed <- 42
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
189 if (!args[7] == "") {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
190 if (!is.na(as.integer(args[7]))) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
191 seed <- as.integer(args[7])
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
192 } else {
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
193 quit(save = "no", status = 15, runLast = FALSE)
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
194 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
195 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
196
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
197 plot <- ""
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
198 mplot <- ""
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
199 plot_pdf <- FALSE
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
200 table <- ""
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
201 mtable <- ""
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
202 flag_meta <- FALSE
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
203 nodesize <- FALSE
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
204 nb_args <- length(args)
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
205
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
206 if (nb_args == 16) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
207 plot <- args[8]
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
208 if (args[9] == "PDF") {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
209 plot_pdf <- TRUE
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
210 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
211 nodesize <- args[10]
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
212 mplot <- args[11]
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
213 table <- args[13]
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
214 mtable <- args[14]
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
215 if (args[12] == "meta") {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
216 flag_meta <- TRUE
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
217 }
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
218 } else if (nb_args == 15) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
219 plot <- args[8]
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
220 if (args[9] == "PDF") {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
221 plot_pdf <- TRUE
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
222 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
223 nodesize <- args[10]
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
224 table <- args[12]
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
225 mtable <- args[13]
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
226 if (args[11] == "meta") {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
227 flag_meta <- TRUE
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
228 }
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
229 } else if (nb_args == 13) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
230 mplot <- args[8]
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
231 table <- args[10]
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
232 mtable <- args[11]
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
233 if (args[9] == "meta") {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
234 flag_meta <- TRUE
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
235 }
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
236 } else if (nb_args == 12) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
237 table <- args[9]
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
238 mtable <- args[10]
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
239 if (args[8] == "meta") {
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
240 flag_meta <- TRUE
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
241 }
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
242 } else if (nb_args == 11) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
243 plot <- args[8]
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
244 if (args[9] == "PDF") {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
245 plot_pdf <- TRUE
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
246 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
247 nodesize <- args[10]
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
248 mplot <- args[11]
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
249 } else if (nb_args == 10) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
250 plot <- args[8]
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
251 if (args[9] == "PDF") {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
252 plot_pdf <- TRUE
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
253 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
254 nodesize <- args[10]
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
255 } else if (nb_args == 8) {
0
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
256 mplot <- args[8]
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
257 }
54a25f1139b4 "planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit b183455dde52e5b870fe898df9863b924e5370bd"
azomics
parents:
diff changeset
258
2
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
259 flow_frame_or_fcs(args[1], args[2],
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
260 columns, cluster, xgrid, ygrid, plot, plot_pdf,
0efc47dba930 planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/flowsom_tree commit bbff20e20dc2b9dbb40b613a0d5f16ee8132446d
azomics
parents: 0
diff changeset
261 mplot, flag_default, table, mtable, flag_meta, seed, nodesize)