This tutorial will use PBMC analysis data from Seurat.
To get a complete description of the experiment, refer here
We assume that all dependent packages are already installed. see How to install CellEnrich document.
Pre-processed data is included in GitHub repository.
Filename | Parameter | Type |
---|---|---|
pbmcData.RData |
CountData |
dgCMatrix |
pbmcClustinfo.RData |
GroupInfo |
Character |
with these Codes, users can see an interactive shiny
page.
# Download data, if not downloaded
::DownloadData()
CellEnrich
load("pbmcData.RData")
load("pbmcClustInfo.RData")
<- pbmcData
CountData <- pbmcClustInfo
GroupInfo
# This will run CellEnrich
CellEnrich(CountData, GroupInfo)
Set options before starting CellEnrich
.
Possible options are :
After a few minutes, the analysis result will appear.
used Test environment :
CellEnrich consists of 5 modules.
The left plot is a scatter plot created with t-SNE
or
U-MAP
and ggplot2
that the user selected in
the option.
In this tutorial, the scatter plot is the t-SNE
result.
this scatter plot can be emphasized with 3 buttons:
CELL GROUPS
button ( default ) will colorize as
group information.
FREQUENCY
button will colorize frequently enriched
cells in each group.
ODDS RATIO
button will colorize the enriched cell in
each group with the highest odds ratio.
The right plot is a histogram plot created with
high charter
to see a distribution of Group / Cell
labels.
User can download both result with the Save
button
(LEFT) and Export
options at the right top (RIGHT).
This pathway module will show significant pathways for each group in table format.
To use emphasize feature, a user should clear the
sortable
list with the CLEARLIST
button.
For each group, only 1 pathway can be selected for emphasis in a scatter plot.
After clicking the ‘EMPHASIZE’ button, top cell enriched by the selected pathways will be shown.
This section shows the BiPlot presentation of the correlation between categories and top significant pathways.
User can check the BiPlot under the perspective of FREQUENCY (above) or ODDS RATIO (below).
This marker module will show Differentially Expressed genes in the following:
Each group ( using findMarker in scran )
Each group and pathway-specific ( using Fisher’s exact test )