Skip to content

Commit

Permalink
extended pipeline to topSeparating mutations workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesGawron committed Jun 18, 2024
1 parent 95d6057 commit e957a2b
Show file tree
Hide file tree
Showing 194 changed files with 36,801 additions and 931 deletions.
Binary file added experiments/data/htmls/._Br57.html
Binary file not shown.
136 changes: 13 additions & 123 deletions experiments/data/htmls/Br11.html

Large diffs are not rendered by default.

2,520 changes: 2,520 additions & 0 deletions experiments/data/htmls/Br11_topSeparators.html

Large diffs are not rendered by default.

849 changes: 849 additions & 0 deletions experiments/data/htmls/Br16_AC.html

Large diffs are not rendered by default.

2,669 changes: 2,669 additions & 0 deletions experiments/data/htmls/Br16_AC_topSeparators.html

Large diffs are not rendered by default.

888 changes: 888 additions & 0 deletions experiments/data/htmls/Br16_B.html

Large diffs are not rendered by default.

254 changes: 97 additions & 157 deletions experiments/data/htmls/Br16_C.html

Large diffs are not rendered by default.

408 changes: 408 additions & 0 deletions experiments/data/htmls/Br16_C_topSeparators.html

Large diffs are not rendered by default.

124 changes: 17 additions & 107 deletions experiments/data/htmls/Br23.html

Large diffs are not rendered by default.

57 changes: 10 additions & 47 deletions experiments/data/htmls/Br26.html

Large diffs are not rendered by default.

2,557 changes: 2,557 additions & 0 deletions experiments/data/htmls/Br26_topSeparators.html

Large diffs are not rendered by default.

607 changes: 607 additions & 0 deletions experiments/data/htmls/Br30.html

Large diffs are not rendered by default.

408 changes: 408 additions & 0 deletions experiments/data/htmls/Br30_topSeparators.html

Large diffs are not rendered by default.

22 changes: 8 additions & 14 deletions experiments/data/htmls/Br37.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<meta name="author" content="Johannes Gawron" />

<meta name="date" content="2024-06-06" />
<meta name="date" content="2024-06-17" />

<title>Br37</title>

Expand Down Expand Up @@ -352,7 +352,7 @@

<h1 class="title toc-ignore">Br37</h1>
<h4 class="author">Johannes Gawron</h4>
<h4 class="date">2024-06-06</h4>
<h4 class="date">2024-06-17</h4>

</div>

Expand All @@ -368,15 +368,15 @@ <h2>Splitting statistics</h2>
</div>
<div id="configure-the-script" class="section level2">
<h2>Configure the script</h2>
<pre class="r"><code>inputFolder &lt;- &quot;/Users/jgawron/Documents/projects/CTC_backup/input_folder&quot;
simulationInputFolder &lt;- &quot;/Users/jgawron/Documents/projects/CTC_backup/simulations/simulations2&quot;
<pre class="r"><code>inputFolder &lt;- &quot;/cluster/work/bewi/members/jgawron/projects/CTC/input_folder&quot;
simulationInputFolder &lt;- &quot;/cluster/work/bewi/members/jgawron/projects/CTC/simulations/simulations2&quot;
treeName &lt;- &quot;Br37&quot;
nTreeSamplingEvents &lt;- 1000
nMutationSamplingEvents &lt;- 1000</code></pre>
</div>
<div id="loading-data" class="section level2">
<h2>Loading data</h2>
<pre class="r"><code>source(&quot;/Users/jgawron/Documents/projects/CTC-SCITE/CTC-SCITE/experiments/workflow/resources/functions.R&quot;)</code></pre>
<pre class="r"><code>source(&quot;/cluster/work/bewi/members/jgawron/projects/CTC/CTC-SCITE/experiments/workflow/resources/functions.R&quot;)</code></pre>
<pre><code>## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ dplyr 1.1.4 ✔ readr 2.1.5
## ✔ forcats 1.0.0 ✔ stringr 1.5.1
Expand Down Expand Up @@ -492,14 +492,8 @@ <h2>General overview</h2>
geom_histogram(binwidth = 0.01))
cutoffsBranchingProbabilities &lt;- rbind(cutoffsBranchingProbabilities, data.frame(clusterSize = clusterSize, Cutoff = quantile(distance$aggregatedBranchingProbabilities, probs = 0.95, names = FALSE)[1] ))
})
}</code></pre>
<pre><code>## Error : &#39;/Users/jgawron/Documents/projects/CTC_backup/simulations/simulations2/Br37_2/Br37_2_postSampling.tsv&#39; does not exist.
## Error : &#39;/Users/jgawron/Documents/projects/CTC_backup/simulations/simulations2/Br37_3/Br37_3_postSampling.tsv&#39; does not exist.
## Error : &#39;/Users/jgawron/Documents/projects/CTC_backup/simulations/simulations2/Br37_4/Br37_4_postSampling.tsv&#39; does not exist.
## Error : &#39;/Users/jgawron/Documents/projects/CTC_backup/simulations/simulations2/Br37_5/Br37_5_postSampling.tsv&#39; does not exist.</code></pre>
<pre class="r"><code>print(cutoffsBranchingProbabilities)</code></pre>
<pre><code>## [1] clusterSize Cutoff
## &lt;0 Zeilen&gt; (oder row.names mit Länge 0)</code></pre>
}
print(cutoffsBranchingProbabilities)</code></pre>
<p>Now we can compute the aggregated splitting score distributions for
each cluster. The distribution’s mean is compared to the cutoffs
computed above, and if it is higher than the cutoff, we call the cluster
Expand Down Expand Up @@ -552,7 +546,7 @@ <h2>General overview</h2>
<pre><code>## [1] &quot;0 out of 0 clusters were found to be oligoclonal in Br37, using method 2&quot;</code></pre>
<pre class="r"><code>print(splittingSummary2)</code></pre>
<pre><code>## [1] Color Oligoclonal ClusterSize
## &lt;0 Zeilen&gt; (oder row.names mit Länge 0)</code></pre>
## &lt;0 rows&gt; (or 0-length row.names)</code></pre>
</div>


Expand Down
408 changes: 408 additions & 0 deletions experiments/data/htmls/Br37_topSeparators.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions experiments/data/htmls/Br38.html

Large diffs are not rendered by default.

2,488 changes: 2,488 additions & 0 deletions experiments/data/htmls/Br38_topSeparators.html

Large diffs are not rendered by default.

646 changes: 646 additions & 0 deletions experiments/data/htmls/Br39.html

Large diffs are not rendered by default.

408 changes: 408 additions & 0 deletions experiments/data/htmls/Br39_topSeparators.html

Large diffs are not rendered by default.

599 changes: 599 additions & 0 deletions experiments/data/htmls/Br44.html

Large diffs are not rendered by default.

408 changes: 408 additions & 0 deletions experiments/data/htmls/Br44_topSeparators.html

Large diffs are not rendered by default.

22 changes: 8 additions & 14 deletions experiments/data/htmls/Br45.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<meta name="author" content="Johannes Gawron" />

<meta name="date" content="2024-06-06" />
<meta name="date" content="2024-06-17" />

<title>Br45</title>

Expand Down Expand Up @@ -352,7 +352,7 @@

<h1 class="title toc-ignore">Br45</h1>
<h4 class="author">Johannes Gawron</h4>
<h4 class="date">2024-06-06</h4>
<h4 class="date">2024-06-17</h4>

</div>

Expand All @@ -368,15 +368,15 @@ <h2>Splitting statistics</h2>
</div>
<div id="configure-the-script" class="section level2">
<h2>Configure the script</h2>
<pre class="r"><code>inputFolder &lt;- &quot;/Users/jgawron/Documents/projects/CTC_backup/input_folder&quot;
simulationInputFolder &lt;- &quot;/Users/jgawron/Documents/projects/CTC_backup/simulations/simulations2&quot;
<pre class="r"><code>inputFolder &lt;- &quot;/cluster/work/bewi/members/jgawron/projects/CTC/input_folder&quot;
simulationInputFolder &lt;- &quot;/cluster/work/bewi/members/jgawron/projects/CTC/simulations/simulations2&quot;
treeName &lt;- &quot;Br45&quot;
nTreeSamplingEvents &lt;- 1000
nMutationSamplingEvents &lt;- 1000</code></pre>
</div>
<div id="loading-data" class="section level2">
<h2>Loading data</h2>
<pre class="r"><code>source(&quot;/Users/jgawron/Documents/projects/CTC-SCITE/CTC-SCITE/experiments/workflow/resources/functions.R&quot;)</code></pre>
<pre class="r"><code>source(&quot;/cluster/work/bewi/members/jgawron/projects/CTC/CTC-SCITE/experiments/workflow/resources/functions.R&quot;)</code></pre>
<pre><code>## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ dplyr 1.1.4 ✔ readr 2.1.5
## ✔ forcats 1.0.0 ✔ stringr 1.5.1
Expand Down Expand Up @@ -494,14 +494,8 @@ <h2>General overview</h2>
geom_histogram(binwidth = 0.01))
cutoffsBranchingProbabilities &lt;- rbind(cutoffsBranchingProbabilities, data.frame(clusterSize = clusterSize, Cutoff = quantile(distance$aggregatedBranchingProbabilities, probs = 0.95, names = FALSE)[1] ))
})
}</code></pre>
<pre><code>## Error : &#39;/Users/jgawron/Documents/projects/CTC_backup/simulations/simulations2/Br45_2/Br45_2_postSampling.tsv&#39; does not exist.
## Error : &#39;/Users/jgawron/Documents/projects/CTC_backup/simulations/simulations2/Br45_3/Br45_3_postSampling.tsv&#39; does not exist.
## Error : &#39;/Users/jgawron/Documents/projects/CTC_backup/simulations/simulations2/Br45_4/Br45_4_postSampling.tsv&#39; does not exist.
## Error : &#39;/Users/jgawron/Documents/projects/CTC_backup/simulations/simulations2/Br45_5/Br45_5_postSampling.tsv&#39; does not exist.</code></pre>
<pre class="r"><code>print(cutoffsBranchingProbabilities)</code></pre>
<pre><code>## [1] clusterSize Cutoff
## &lt;0 Zeilen&gt; (oder row.names mit Länge 0)</code></pre>
}
print(cutoffsBranchingProbabilities)</code></pre>
<p>Now we can compute the aggregated splitting score distributions for
each cluster. The distribution’s mean is compared to the cutoffs
computed above, and if it is higher than the cutoff, we call the cluster
Expand Down Expand Up @@ -554,7 +548,7 @@ <h2>General overview</h2>
<pre><code>## [1] &quot;0 out of 0 clusters were found to be oligoclonal in Br45, using method 2&quot;</code></pre>
<pre class="r"><code>print(splittingSummary2)</code></pre>
<pre><code>## [1] Color Oligoclonal ClusterSize
## &lt;0 Zeilen&gt; (oder row.names mit Länge 0)</code></pre>
## &lt;0 rows&gt; (or 0-length row.names)</code></pre>
</div>


Expand Down
408 changes: 408 additions & 0 deletions experiments/data/htmls/Br45_topSeparators.html

Large diffs are not rendered by default.

600 changes: 600 additions & 0 deletions experiments/data/htmls/Br46.html

Large diffs are not rendered by default.

408 changes: 408 additions & 0 deletions experiments/data/htmls/Br46_topSeparators.html

Large diffs are not rendered by default.

Loading

0 comments on commit e957a2b

Please sign in to comment.