8000 GitHub - stanleyn/fcs_tutorial: A tutorial for dealing with FCS files in both Python and R. Includes instruction for arcsinh transform, selecting relevant markers, etc.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A tutorial for dealing with FCS files in both Python and R. Includes instruction for arcsinh transform, selecting relevant markers, etc.

Notifications You must be signed in to change notification settings

stanleyn/fcs_tutorial

B807

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Objective

We will learn how to read and pre-process FCS files using both R and Python. The main components of dealing with FCS files are as follows

  • Reading an FCS file
  • Applying an Arcsinh transformation
  • Getting interpretable marker names that correspond to the antibodies in the experiments
  • Subset only the channels of interest (e.g. phenotypic and functional markers)

These examples show you how to create your cells x marker matrices that can be used for downstream tasks.

Using FlowKit in python

First, make sure you have FlowKit installed:

pip3 install FlowKit

You can read the following for more info about FlowKit,

You can check out sampleFCSProcess.py to see steps with instructions or,

python3 sampleFCSProcess.py

It will print a preview of the cell x marker data matrix.

Using flowCore in R

Makre sure you have flowCore installed,

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("flowCore")

You can read more about flowCore here,

You can check out flowCoreProcess.R to see steps with instructions or,

source('flowCoreProcess.R')

This will print a sample of your data matrix, which is the same as with flowkit :)

About

A tutorial for dealing with FCS files in both Python and R. Includes instruction for arcsinh transform, selecting relevant markers, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0