Skip to content

Commit 95c1144

Browse files
committed
changed symbol from B to L for basal-like to avoid confusion with luminal-b
1 parent e1d6426 commit 95c1144

2 files changed

Lines changed: 12 additions & 57 deletions

File tree

stat-R_2020/evaluation-m3-2020/NOM-PRENOM_evaluation-m3-2020.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ BIC.sample.classes <- read.table(
263263
264264
## Define sample colors and 1-letter symbols
265265
class.symbols <- c(
266-
"Basal.like" = "B",
266+
"Basal.like" = "L",
267267
"HER2pos" = "H",
268268
"Luminal.A" = "A",
269269
"Luminal.B" = "B",

stat-R_2020/evaluation-m3-2020/NOM-PRENOM_evaluation-m3-2020.html

Lines changed: 11 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<meta name="author" content="Prénom NOM" />
1313

14-
<meta name="date" content="2020-07-24" />
14+
<meta name="date" content="2020-08-22" />
1515

1616
<title>Report: supervised classification of cancer data</title>
1717

@@ -351,7 +351,7 @@
351351
<h1 class="title toc-ignore">Report: supervised classification of cancer data</h1>
352352
<h3 class="subtitle">DUBii 2020 - Module 3 - Analyse statistique avec R - Evaluation</h3>
353353
<h4 class="author">Prénom NOM</h4>
354-
<h4 class="date">2020-07-24</h4>
354+
<h4 class="date">2020-08-22</h4>
355355

356356
</div>
357357

@@ -538,7 +538,7 @@ <h2>Data loading</h2>
538538
<a class="sourceLine" id="cb5-23" data-line-number="23"></a>
539539
<a class="sourceLine" id="cb5-24" data-line-number="24"><span class="co">## Define sample colors and 1-letter symbols</span></a>
540540
<a class="sourceLine" id="cb5-25" data-line-number="25">class.symbols &lt;-<span class="st"> </span><span class="kw">c</span>(</a>
541-
<a class="sourceLine" id="cb5-26" data-line-number="26"> <span class="st">&quot;Basal.like&quot;</span> =<span class="st"> &quot;B&quot;</span>,</a>
541+
<a class="sourceLine" id="cb5-26" data-line-number="26"> <span class="st">&quot;Basal.like&quot;</span> =<span class="st"> &quot;L&quot;</span>,</a>
542542
<a class="sourceLine" id="cb5-27" data-line-number="27"> <span class="st">&quot;HER2pos&quot;</span> =<span class="st"> &quot;H&quot;</span>,</a>
543543
<a class="sourceLine" id="cb5-28" data-line-number="28"> <span class="st">&quot;Luminal.A&quot;</span> =<span class="st"> &quot;A&quot;</span>,</a>
544544
<a class="sourceLine" id="cb5-29" data-line-number="29"> <span class="st">&quot;Luminal.B&quot;</span> =<span class="st"> &quot;B&quot;</span>,</a>
@@ -547,8 +547,8 @@ <h2>Data loading</h2>
547547
<a class="sourceLine" id="cb5-32" data-line-number="32">BIC.sample.classes<span class="op">$</span>symbol &lt;-<span class="st"> </span>class.symbols[BIC.sample.classes<span class="op">$</span>cancer.type]</a>
548548
<a class="sourceLine" id="cb5-33" data-line-number="33"><span class="kw">table</span>(BIC.sample.classes<span class="op">$</span>symbol)</a></code></pre></div>
549549
<pre><code>
550-
A B H U
551-
422 249 41 107 </code></pre>
550+
A B H L U
551+
422 118 41 131 107 </code></pre>
552552
<div class="sourceCode" id="cb7"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb7-1" data-line-number="1"><span class="co">## Define a color for each cancer class and assign colors to samples accordingly.</span></a>
553553
<a class="sourceLine" id="cb7-2" data-line-number="2">class.colors &lt;-<span class="st"> </span><span class="kw">c</span>(</a>
554554
<a class="sourceLine" id="cb7-3" data-line-number="3"> <span class="st">&quot;Basal.like&quot;</span> =<span class="st"> &quot;brown&quot;</span>,</a>
@@ -598,7 +598,7 @@ <h2>Data loading</h2>
598598
</table>
599599
<p>The expression file contains 1000 rows (genes) x 819 columns (samples).</p>
600600
<p>The sample description table contains 819 rows (samples) x 6 columns (description fields). The first column indicates the cancer type, and the three following one indicate the values (positive/negative) for three marker genes used as diagnostic markers for the cancer type (<em>ER1</em>, <em>PR1</em> et <em>Her2</em>).</p>
601-
<div class="sourceCode" id="cb10"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb10-1" data-line-number="1"><span class="kw">kable</span>(<span class="kw">head</span>(BIC.sample.classes, <span class="dt">n =</span> <span class="dv">10</span>), <span class="dt">caption =</span> <span class="st">&quot;First rows of the sample description table. &quot;</span>)</a></code></pre></div>
601+
<div class="sourceCode" id="cb10"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb10-1" data-line-number="1"><span class="kw">kable</span>(<span class="kw">head</span>(BIC.sample.classes, <span class="dt">n =</span> <span class="dv">5</span>), <span class="dt">caption =</span> <span class="st">&quot;First rows of the sample description table. &quot;</span>)</a></code></pre></div>
602602
<table>
603603
<caption>First rows of the sample description table.</caption>
604604
<colgroup>
@@ -628,7 +628,7 @@ <h2>Data loading</h2>
628628
<td align="left">Negative</td>
629629
<td align="left">Negative</td>
630630
<td align="left">Negative</td>
631-
<td align="left">B</td>
631+
<td align="left">L</td>
632632
<td align="left">brown</td>
633633
</tr>
634634
<tr class="even">
@@ -637,7 +637,7 @@ <h2>Data loading</h2>
637637
<td align="left">Negative</td>
638638
<td align="left">Negative</td>
639639
<td align="left">Negative</td>
640-
<td align="left">B</td>
640+
<td align="left">L</td>
641641
<td align="left">brown</td>
642642
</tr>
643643
<tr class="odd">
@@ -646,7 +646,7 @@ <h2>Data loading</h2>
646646
<td align="left">Negative</td>
647647
<td align="left">Negative</td>
648648
<td align="left">Negative</td>
649-
<td align="left">B</td>
649+
<td align="left">L</td>
650650
<td align="left">brown</td>
651651
</tr>
652652
<tr class="even">
@@ -655,7 +655,7 @@ <h2>Data loading</h2>
655655
<td align="left">Negative</td>
656656
<td align="left">Negative</td>
657657
<td align="left">Negative</td>
658-
<td align="left">B</td>
658+
<td align="left">L</td>
659659
<td align="left">brown</td>
660660
</tr>
661661
<tr class="odd">
@@ -664,52 +664,7 @@ <h2>Data loading</h2>
664664
<td align="left">Negative</td>
665665
<td align="left">Negative</td>
666666
<td align="left">Negative</td>
667-
<td align="left">B</td>
668-
<td align="left">brown</td>
669-
</tr>
670-
<tr class="even">
671-
<td align="left">E08283CA-68E0-4171-B8B9-51AEE0B1E0EF</td>
672-
<td align="left">Basal.like</td>
673-
<td align="left">Negative</td>
674-
<td align="left">Negative</td>
675-
<td align="left">Negative</td>
676-
<td align="left">B</td>
677-
<td align="left">brown</td>
678-
</tr>
679-
<tr class="odd">
680-
<td align="left">C0FF6201-9BFD-4C95-9770-B122D8206C3D</td>
681-
<td align="left">Basal.like</td>
682-
<td align="left">Negative</td>
683-
<td align="left">Negative</td>
684-
<td align="left">Negative</td>
685-
<td align="left">B</td>
686-
<td align="left">brown</td>
687-
</tr>
688-
<tr class="even">
689-
<td align="left">4C49EE0B-5040-47B2-8E78-28ABFA0969CD</td>
690-
<td align="left">Basal.like</td>
691-
<td align="left">Negative</td>
692-
<td align="left">Negative</td>
693-
<td align="left">Negative</td>
694-
<td align="left">B</td>
695-
<td align="left">brown</td>
696-
</tr>
697-
<tr class="odd">
698-
<td align="left">6588314E-69E9-44DC-B7D0-0966C1833608</td>
699-
<td align="left">Basal.like</td>
700-
<td align="left">Negative</td>
701-
<td align="left">Negative</td>
702-
<td align="left">Negative</td>
703-
<td align="left">B</td>
704-
<td align="left">brown</td>
705-
</tr>
706-
<tr class="even">
707-
<td align="left">6B960A87-C9E2-4F37-BBB8-116A776FD26A</td>
708-
<td align="left">Basal.like</td>
709-
<td align="left">Negative</td>
710-
<td align="left">Negative</td>
711-
<td align="left">Negative</td>
712-
<td align="left">B</td>
667+
<td align="left">L</td>
713668
<td align="left">brown</td>
714669
</tr>
715670
</tbody>

0 commit comments

Comments
 (0)