This PR addresses #79 and shrinks the specify_epitopes notebook down to 231KB and the partition_function notebook down to 719KB. Changes I made were:
use plotnine instead of altair for scatter plots in specify_epitopes
in partition_function, I do have a super large dataframe. I think the interactivity is important here but couldn't find a way to plot interactive curves without tons of datapoints. I decided to compromise by plotting some example static curves with plotnine, and then showing interactive bar plots where you can toggle each of the parameters to see how p_unbound changes wrt each model assumption.
@jbloom can you review and let me know what you think?
This PR addresses #79 and shrinks the
specify_epitopes
notebook down to 231KB and thepartition_function
notebook down to 719KB. Changes I made were:plotnine
instead ofaltair
for scatter plots inspecify_epitopes
partition_function
, I do have a super large dataframe. I think the interactivity is important here but couldn't find a way to plot interactive curves without tons of datapoints. I decided to compromise by plotting some example static curves withplotnine
, and then showing interactive bar plots where you can toggle each of the parameters to see howp_unbound
changes wrt each model assumption.@jbloom can you review and let me know what you think?