Skip to content

Commit 951bd75

Browse files
committed
update the visualization of plot_lisa_feature
1 parent a49b5bf commit 951bd75

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

vignettes/SVP.Rmd

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,8 @@ gsvaExp(mob_spe, 'CellTypeFree') |>
393393
pointsize = 2,
394394
gap_line_width = .18,
395395
hlpointsize= 1.8
396-
)
396+
) +
397+
facet_wrap(~features, nrow=1)
397398
398399
```
399400

@@ -499,7 +500,10 @@ lbv.res <- mob_spe |>
499500
# The result can be added to gsvaExp, then visualized by ggsc.
500501
LISAsce(mob_spe, lisa.res=lbv.res, gsvaexp.name='LBV.res') |>
501502
gsvaExp("LBV.res") %>%
502-
plot_lisa_feature(lisa.res = lbv.res, assay.type = 1)
503+
plot_lisa_feature(lisa.res = lbv.res, assay.type = 1) +
504+
facet_wrap(~features, nrow=1)
505+
506+
503507
```
504508

505509
The highlighted area denotes the region where the two variables significantly co-aggregate in space.

0 commit comments

Comments
 (0)