-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I format my data as chi11 in the Get Started documentation? #4
Comments
Data prepartion for HDStIM from manually gated populationsHi @liyawang, chi11 is an R list that includes the main input data frame with cells on the rows, markers, and other variables on the columns. The list also contains a vector of state markers, a variable with the column's name with cell populations, a vector of stimulation types, and a variable with the unstim label. When you say that you want to generate the input data from the manually gated populations from FlowJo, I assume you have FCS files per sample per population exported from FlowJo that you want to read in and generate the input data frame. Under such conditions, I first prepare a sample information file with the list of FCS files, stimulation types they represent, cell population, subject, etc. Then, I iterate over the FCS files and read in the expression matrix using FlowCore. I attach other variables such as cell population the cells belong to, subject, stimulation type, etc., and concatenate in a single data frame. Once the data frame is ready, I arcsinh transform the antigen channels. Conventionally, we use a cofactor of 5 for cytof data and 150 for cytek data. I have uploaded an example dataset to this link https://app.box.com/s/o0gd6605z23bjpxyvl32tybkzqc4iyts with a sample information file. Try the code below to generate the data frame.
|
I have manually curated my populations in FlowJo.
The text was updated successfully, but these errors were encountered: