-
Notifications
You must be signed in to change notification settings - Fork 26
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
Integrate Chronos for screen data #112
Comments
Hi @j-andrews7 yes thank you it was in the backlog in my mind! |
Honestly, their Github README lays it out more cleanly than I could, but I'll summarize here. In short, it really only needs three pandas dataframe:
Recommended is to also provide a list of Then running is just: import chronos
# This removes clonal outgrowths that are seemingly unrelated to the perturbation
chronos.nan_outgrowths(readcounts, sequence_map, guide_gene_map)
model = chronos.Chronos(
readcounts={'my_library': readcounts},
sequence_map={'my_library': sequence_map},
guide_gene_map={'my_library': guide_gene_map},
negative_control_sgrnas={'my_library': negative_control_sgrnas}
)
model.train()
model.save("my_save_directory")
# Actual outputs people may be interested in.
gene_effect = model.gene_effect
guide_efficacy = model.guide_efficacy They have a vignette with a more comprehensive example. |
Description of feature
Chronos is an enticing addition to this pipeline given the ever-expanding DepMap project which also uses it.
The text was updated successfully, but these errors were encountered: