Mercurial > repos > immport-devteam > profile_cl
view getOntology.R @ 1:62d8985a41e2 draft default tip
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/profile_cl commit 5cdc32e68f9ec685f9890902c5ecc75047248361"
author | azomics |
---|---|
date | Thu, 23 Jul 2020 08:58:29 -0400 |
parents | |
children |
line wrap: on
line source
#!/usr/bin/Rscript --vanilla # Cell Ontology Module for Galaxy # FlowCL ###################################################################### # Copyright (c) 2016 Northrop Grumman. # All rights reserved. ###################################################################### # # Version 1 # Cristel Thomas # # suppressWarnings(suppressMessages(library(flowCL))) suppressWarnings(suppressMessages(library(base))) getOntology <- function(output_file, markers) { res <- flowCL(markers, ResetArch = TRUE) if (length(res) == 6) { report <- capture.output(res$Table) sink(output_file) cat(report, sep = "\n") sink() } } args <- commandArgs(trailingOnly = TRUE) markers <- paste(args[2:length(args)], collapse="") getOntology(args[1], markers)