Mercurial > repos > immport-devteam > profile_cl
view profile_cl/getOntology.R @ 0:8547aedf1350 draft
Uploaded
author | immport-devteam |
---|---|
date | Mon, 27 Feb 2017 13:03:19 -0500 |
parents | |
children |
line wrap: on
line source
# Cell Ontology Module for Galaxy # FlowCL ###################################################################### # Copyright (c) 2016 Northrop Grumman. # All rights reserved. ###################################################################### # # Version 1 # Cristel Thomas # # library(flowCL) 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[3:length(args)], collapse="") getOntology(args[2], markers)