Mercurial > repos > padge > mcdoe
annotate report.jmd @ 2:d5832ac370e3 draft default tip
planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit a920127294bcfcb708881e28144a77a5c10d46d2-dirty
author | padge |
---|---|
date | Wed, 31 Aug 2022 13:17:33 +0000 |
parents | cc0957c46408 |
children |
rev | line source |
---|---|
0
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
1 --- |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
2 title: MultiplexCrisprDOE |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
3 --- |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
4 |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
5 <!-- this setup dependencies, but doesn't appear in the generated document --> |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
6 ```julia; echo = false; results = "hidden" |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
7 using Pkg |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
8 "Plots" ∉ keys(Pkg.project().dependencies) && Pkg.add("Plots") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
9 #"DSP" ∉ keys(Pkg.project().dependencies) && Pkg.add("DSP") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
10 #"Images" ∉ keys(Pkg.project().dependencies) && Pkg.add("Images") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
11 "DataStructures" ∉ keys(Pkg.project().dependencies) && Pkg.add("DataStructures") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
12 "PrettyTables" ∉ keys(Pkg.project().dependencies) && Pkg.add("PrettyTables") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
13 "DataFrames" ∉ keys(Pkg.project().dependencies) && Pkg.add("DataFrames") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
14 "Latexify" ∉ keys(Pkg.project().dependencies) && Pkg.add("Latexify") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
15 ``` |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
16 ## Tool |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
17 |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
18 * **Method:** `j println(WEAVE_ARGS.tool_info["method"])` |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
19 |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
20 * **Description:** `j println(WEAVE_ARGS.tool_info["description"])` |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
21 |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
22 * **Mode:** `j println(WEAVE_ARGS.tool_info["mode"])` |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
23 |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
24 * **Mode description:** `j println(WEAVE_ARGS.tool_info["mode_description"])` |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
25 |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
26 ## Variables |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
27 |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
28 ```julia; echo = false |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
29 using DataFrames |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
30 using PrettyTables |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
31 df = DataFrame("Argument" => collect(keys(WEAVE_ARGS.args_info)), "Value" => collect(values(WEAVE_ARGS.args_info))) |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
32 #pt = pretty_table(df, nosubheader=true; alignment=:l) |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
33 ``` |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
34 |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
35 ```julia; echo = false |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
36 using Plots |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
37 if haskey(WEAVE_ARGS.grna_dict,"p_gRNA_reads") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
38 h1 = histogram(WEAVE_ARGS.grna_dict["p_gRNA_reads"], label="", |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
39 xlabel="Number of reads per gRNA", |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
40 linecolor="white", |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
41 normalize=:probability, |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
42 xtickfontsize=10,ytickfontsize=10, |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
43 color=:mediumturquoise, size=(600,350), bins = 25, |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
44 ylabel="Relative frequency", |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
45 title="gRNA frequency distribution") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
46 display(h1) |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
47 end |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
48 ``` |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
49 |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
50 ```julia; echo = false |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
51 using Plots |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
52 if haskey(WEAVE_ARGS.grna_dict,"p_gRNA_edit") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
53 h2 = histogram(WEAVE_ARGS.grna_dict["p_gRNA_edit"], |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
54 normalize = :probability, |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
55 linecolor = "white", |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
56 label="", |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
57 color=:turquoise4, |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
58 xtickfontsize=10,ytickfontsize=10, xlim = (0, 1), |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
59 xticks=(0:0.1:1), |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
60 bins = 150, |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
61 xlabel="gRNA editing efficiency", |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
62 ylabel="Relative frequency", |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
63 title="gRNA genome editing effiency distribution") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
64 display(h2) |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
65 end |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
66 ``` |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
67 |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
68 ```julia; echo = false |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
69 using Plots |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
70 if haskey(WEAVE_ARGS.output,"output file") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
71 println("Output written to:") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
72 println(WEAVE_ARGS.output["output file"]) |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
73 elseif haskey(WEAVE_ARGS.output,"E_sim") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
74 E_sim = WEAVE_ARGS.output["E_sim"] |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
75 sd_sim = WEAVE_ARGS.output["sd_sim"] |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
76 k = WEAVE_ARGS.args_info["# of gRNAs / combi gRNA/Cas construct"] |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
77 x = WEAVE_ARGS.args_info["# of target genes in the experiment"] |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
78 println("**How many plants need to be included in the plant library (on average) to obtain full coverage of all k-combinations of gene knockouts?**") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
79 println("On average, ", Int(ceil(E_sim)), " plants need to be sampled at random to observe all ", k, "-combinations of ", x, " gene knockouts. Standard deviation = ", Int(ceil(sd_sim)), " plants") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
80 elseif haskey(WEAVE_ARGS.output,"P_sim") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
81 p = plot(WEAVE_ARGS.output["pls"], WEAVE_ARGS.output["P_sim"], label="Pₓ₂", |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
82 title="Probability of full combinatorial coverage with respect to plant library size", |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
83 xlabel="N", ylabel="Pₓₖ", |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
84 xticks = (0:500:50000, string.(0:500:50000)), |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
85 size=(900,400), color=:turquoise4, linewidth=2) |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
86 hline!([0.95], linestyle=:dash, color=:grey, label="Pₓₖ = 0.95", legend=:bottomright) |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
87 display(p) |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
88 println("At a given number of plants, what is the probability that all pairwise combinations of gene knockouts are observed?") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
89 println("N_95_P: ", WEAVE_ARGS.output["N_95_P"]) |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
90 elseif haskey(WEAVE_ARGS.output,"E_cov") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
91 p = plot(WEAVE_ARGS.output["pls"], WEAVE_ARGS.output["E_cov"], |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
92 label="E[γₓ₂]", title="Expected combinatorial coverage w.r.t. plant library size", |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
93 xlabel="N", ylabel="E[γₓₖ]", |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
94 xticks = (0:500:50000, string.(0:500:50000)), |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
95 size=(800,400), color=:turquoise4, linewidth=2) |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
96 hline!([0.95], linestyle=:dash, color=:grey, label="E[γₓₖ] = 0.95", legend=:bottomright) |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
97 display(p) |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
98 println("At a given number of plants, what is the expected coverage of pairwise gene knockout combinations?") |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
99 println("N_95: ", WEAVE_ARGS.output["N_95"]) |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
100 end |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
101 ``` |
cc0957c46408
"planemo upload for repository https://github.com/kirstvh/MultiplexCrisprDOE commit b6c1b1860eee82b06ed4a592d1f9eee6886be318-dirty"
padge
parents:
diff
changeset
|
102 |