Skip to content

Commit a8d4576

Browse files
committed
A few edits to the text of the pancreas_annotate analysis.
1 parent 9dd5b4a commit a8d4576

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

analysis/pancreas_annotate.Rmd

+14-13
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,11 @@ at.
7777
**A note about interpretation:** For visualization purposes, the
7878
columns of the L matrix—the "membership matrix"—were scaled so that
7979
the largest membership for a given factor (column) was always
80-
exactly 1. However, *this normalization is arbitrary*. Therefore, *it
81-
is not meaningful to compare memberships across factors (i.e., colors
82-
in the Structure plot); it is only meaningful to compare memberships
83-
within a given factor (a single color in the Structure plot).*
80+
exactly 1. However, please note *this normalization is
81+
arbitrary*. Therefore, *it is not meaningful to compare memberships
82+
across factors (i.e., colors in the Structure plot); it is only
83+
meaningful to compare memberships within a given factor (a single
84+
color in the Structure plot).*
8485

8586
## Annotating the factors by "driving genes"
8687

@@ -90,7 +91,7 @@ beta, *etc*). Let's consider two different selection strategies: (i)
9091
choosing genes $j$ with the largest $f_{jk}$; (ii) choosing genes $j$
9192
with the largest differences $f_{jk} - f_{jk'}$ with other factors $k'$
9293
("distinctive genes"). These two selection strategies are implemented
93-
in the "annotation_heatmap" function:
94+
in the `annotation_heatmap` function:
9495

9596
```{r annotation-plot-flashier-nmf, fig.height=3.25, fig.width=6, comment=""}
9697
F <- fl_nmf_ldf$F
@@ -111,16 +112,16 @@ plot_grid(p1,p2,nrow = 1,ncol = 2)
111112
```
112113

113114
Strategy (i) picks out some canonical marker genes for islet cells
114-
(e.g., *INS* for beta cells, *GCG* for alpha cells), but also other
115-
genes that are highly expressed in several islet cell types, such as
116-
*TTR* and *CHGB*. On the other hand, strategy (ii) focusses more
117-
strongly on genes that distinguish one cell type from another, and as
118-
a result marker genes such as *MAFA* (beta cells) and *GC* (alpha
119-
cells) are ranked more highly with this strategy.
115+
such as *INS* for beta cells and *GCG* for alpha cells. But it also
116+
picks out other genes that are highly expressed in multiple islet cell
117+
types, such as *TTR* and *CHGB*. Strategy (ii) focusses more strongly
118+
on genes that distinguish one cell type from another, and as a result
119+
marker genes such as *MAFA* (beta cells) and *GC* (alpha cells) are
120+
ranked more highly with this strategy.
120121

121122
The better strategy will depend on the setting and on the goals of the
122-
analysis, which is why the "annotation_heatmap" function provides both
123+
analysis, which is why the `annotation_heatmap` function provides both
123124
options. These selection strategies can also reveal complementary
124-
insights so in many situations it may be better to use both.
125+
insights and so in many situations it may be better to use both.
125126

126127
[fastTopics]: https://github.com/stephenslab/fastTopics/

0 commit comments

Comments
 (0)