Giter Site home page Giter Site logo

gszep / flowatlas.jl Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 0.0 1.09 GB

an interactive explorer for flow cytometry data

License: MIT License

Julia 20.35% CSS 4.71% JavaScript 74.94%
annotation clustering cytometry dimensionality-reduction flowjo interactive-visualizations julia single-cell

flowatlas.jl's People

Contributors

felixfeyertag avatar github-actions[bot] avatar gszep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

flowatlas.jl's Issues

missing group="tLN" for sampleIDs 9 and 34

The metadata from the workspace file currently shows

       <Group name="tLN" >
         <Criteria>
           <Criterion keyword="TUBE NAME"  function="Contains"  value="tln" />
         </Criteria>
         <ManuallyIncludedSamples>
           <SampleRef sampleID="11" />
         </ManuallyIncludedSamples>
         <SampleRefs>
           <SampleRef sampleID="33" />
           <SampleRef sampleID="25" />
           <SampleRef sampleID="11" />
         </SampleRefs>
         <Keywords/>
       </Group>

Singlet and Live cell extraction

Density thresholding on FSC-W vs FSC-A then on SSC-W vs SSC-A to get singlets.
Then on Z-UV negative to get live cells. @mad3cientist Upload 2 examples into a separate folder under data/testing

update to use JSServe v2

I am several versions behind JSServe and would probably benefit from all the new functionality

Open a set of FCS files without a .wsp file?

Cool project! I was wondering if it was possible to open a folder with .fcs files without a .wsp file?

Something like:

julia> readdir()
5-element Vector{String}:
 "Specimen_001_1 BFP_002.fcs"
 "Specimen_001_1 CTL_001.fcs"
 "Specimen_001_2 BFP_004.fcs"
 "Specimen_001_2 CTL_003.fcs"

julia> FlowAtlas.run(""; files = "*.fcs")
[ Info: Loading FCS files...
ERROR: AssertionError: no such file: 
Stacktrace:
 [1] load(path::String; files::String, cols::Symbol, kwargs::@Kwargs{})
   @ FlowWorkspace ~/.julia/packages/FlowWorkspace/8HLjp/src/Utils.jl:32
 [2] load
   @ ~/.julia/packages/FlowWorkspace/8HLjp/src/Utils.jl:30 [inlined]
 [3] run(path::String; files::String, port::Int64, url::String, cols::Symbol, drop::Vector{…}, nlevels::Int64, nbins::Int64, heatmapQuantileEdge::Float64, violinQuantileEdge::Float64, channelScheme::ColorSchemes.ColorScheme{…}, labelScheme::ColorSchemes.ColorScheme{…}, hold::Bool)
   @ FlowAtlas ~/.julia/packages/FlowAtlas/yxybS/src/FlowAtlas.jl:65
 [4] top-level scope
   @ REPL[22]:1
Some type information was truncated. Use `show(err)` to see complete types.

My package environment on Julia 1.10:

(jl_TZ3iwY) pkg> st
Status `/tmp/jl_TZ3iwY/Project.toml`
  [ef7debb3] FlowAtlas v0.1.13

I would love to use this tool to visualize my populations and draw gates, but I understand if that's out of the scope of this project.

Optimising cluster hyperparameters

For example, TRegs can be split into +/- CD69. @mad3cientist upload into comments examples of subpopulation that have not been split properly. Report metadata on number of merged clusters that have been assigned to one label and have the option of exploring unmatched clusters. Relation of ROC curve? Perhaps we would like to explore ROC vs cluster number.

batch effect warning

if a measure of mixing between groups for labelled populations goes below a certain threshold, throw a warning to the user notifying them about which samples and which population contains the batch effect.

Confusion matrix and ROC

Parse GateML to generate labels, compare labels to predictions
Visualise accuracies using confusion matrix, generate precision recall curve (ROC-curve) by changing confidence thresholds in profile projection

embedding with missing data

we need to decide what to do about missing data. Substituting zeros in the channel columns seems arbitrary.. what is the appropriate way of dealing with this?

add CD19 channel and B-cells back

@gszep needs to optionally split on Foxp3-IgM if - exists in channel name, to Foxp3 and IgM as separate channels. For 390C fill IgM channel with NAN @mad3cientist we need to update all .fcs files (except 390C) with cleaned singlet live cells.

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Optional batch normalisation to reference fcs files

The feature extractor currently uses a gaussian mixtures to shift and scale channels independently per sample to +/- 1. If reference files are present, use those to scale autoflouresnce to -1, leaving relative intensities in positive region alone.

  • use Zoe's data for dev/testing

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.