Git Product home page Git Product logo

Comments (4)

jspidlen avatar jspidlen commented on July 29, 2024

from cytoml.

gfinak avatar gfinak commented on July 29, 2024

Thanks, Josef, that's very helpful.

from cytoml.

mikejiang avatar mikejiang commented on July 29, 2024

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)

image

add clustering results as a factor vector

 res <- Map(res)
  res <- as.factor(res)
  add(gh, res, parent = "CD3+", name = "flowclust")
plot(gs, "CD3+")

image

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

image

new parameter

image

display cluster node flowclust_1

image

display it in different dimensions

image

from cytoml.

jspidlen avatar jspidlen commented on July 29, 2024

from cytoml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.