Comments (4)
from cytoml.
Thanks, Josef, that's very helpful.
from cytoml.
Here is the preliminary results:
load the gatingset
library(flowWorkspace)
liibrary(CytoML)
dataDir <- system.file("extdata",package="flowWorkspaceData")
gs <- load_gs(list.files(dataDir, pattern = "gs_manual",full = TRUE))
gh <- gs[[1]]
params <- parameters(getGate(gh, "CD4"))
Rm("CD4", gs)
Rm("CD8", gs)
run flowClust
on cd3
parent
fr <- getData(gh, "CD3+")
library(flowClust)
res <- flowClust(fr, varNames = params, K = 2, nu = 1, trans = 0)
plot(res, data = fr)
add clustering results as a factor vector
res <- Map(res)
res <- as.factor(res)
add(gh, res, parent = "CD3+", name = "flowclust")
plot(gs, "CD3+")
getPopStats(gs[[1]])[5:6,c(1,3,5)]
openCyto.freq openCyto.count node
1: 0.2998366 16336 flowclust_1
2: 0.6687407 36435 flowclust_2
output to flowJo
outFile <- "~/test.wsp"
GatingSet2flowJo(gs, outFile)
> DerivedParameter: /home/wjiang2/CytoTrol_CytoTrol_1.fcs.flowclust.CD3+.EPA.csv
[1] "~/test.wsp"
load ws in flowJo
new parameter
display cluster node flowclust_1
display it in different dimensions
from cytoml.
from cytoml.
Related Issues (20)
- CytoML Xml File Parsing Issues HOT 8
- Issue Parsing FlowJo (v10.7.2) XML File HOT 3
- FCS Express compatibility HOT 7
- Get indices of gated events from a FJ workspace / alternative to flowjo_to_gatingset HOT 5
- gs-to-flowjo Singularity issue HOT 2
- Ellipses coordinates are not correct in Gating Set after flowJo workspace parsing - v2.9.0 HOT 4
- R Session Aborts when calling flowjo_to_gatingset() more than once HOT 3
- gatingset_to_flowjo() fails with unsupported transformation: LIN
- Using FlowJo gating on pre-compensated, pre-transformed FCS files HOT 5
- flowjo_to_gatingset troubleshoot: "unknown tranformation type!transforms:linear" HOT 3
- flowjo_to_gatingset(), colname not found: error HOT 2
- Export populations as dataframe from a FlowJo workspace HOT 2
- extract inverse transform
- flowjo_to_gatingset does not accept data.frame as path HOT 5
- flowCore::read.FCS works but CytoML::flowjo_to_gatingset fails; no valid FCS file HOT 11
- boolean gate error
- Incompatible with Apple Silicon Mac HOT 7
- flowjo_to_gatingset ignore range as defined in FCS files HOT 3
- Support for FCS 3.2? HOT 4
- gatingset_to_flowjo hangs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cytoml.