Takes gated .fcs files and returns concentration and other info useful for Wetlab users.
Source:R/Wetlab_Concentration.R
Wetlab_Concentration.Rd
Takes gated .fcs files and returns concentration and other info useful for Wetlab users.
Examples
library(flowCore)
library(flowWorkspace)
library(CytoML)
library(dplyr)
library(purrr)
File_Location <- system.file("extdata", package = "Luciernaga")
WSP_File <- list.files(File_Location, pattern=".wsp", full.names = TRUE)
ws <- open_flowjo_xml(WSP_File[1])
gs <- flowjo_to_gatingset(ws, name=1, path = File_Location)
nameKeyword <- c("GROUPNAME", "TUBENAME")
TheData <- map(.x=gs, Wetlab_Concentration, subset = "CD45+",
nameKeyword=nameKeyword, DilutionMultiplier=100, TotalVolume=1) %>%
bind_rows()