77
77
** A note about interpretation:** For visualization purposes, the
78
78
columns of the L matrix—the "membership matrix"—were scaled so that
79
79
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).*
84
85
85
86
## Annotating the factors by "driving genes"
86
87
@@ -90,7 +91,7 @@ beta, *etc*). Let's consider two different selection strategies: (i)
90
91
choosing genes $j$ with the largest $f_ {jk}$; (ii) choosing genes $j$
91
92
with the largest differences $f_ {jk} - f_ {jk'}$ with other factors $k'$
92
93
("distinctive genes"). These two selection strategies are implemented
93
- in the " annotation_heatmap" function:
94
+ in the ` annotation_heatmap ` function:
94
95
95
96
``` {r annotation-plot-flashier-nmf, fig.height=3.25, fig.width=6, comment=""}
96
97
F <- fl_nmf_ldf$F
@@ -111,16 +112,16 @@ plot_grid(p1,p2,nrow = 1,ncol = 2)
111
112
```
112
113
113
114
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.
120
121
121
122
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
123
124
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.
125
126
126
127
[ fastTopics ] : https://github.com/stephenslab/fastTopics/
0 commit comments