knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
In this tutorial, we will use PBMC analysis data from Seurat.
To get full description about experiment, refer here
We assume that all dependent packages is 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, user can see interactive shiny
page.
# Download data, if not downloaded CellEnrich::DownloadData() load("pbmcData.RData") load("pbmcClustInfo.RData") CountData <- pbmcData GroupInfo <- pbmcClustInfo # this will run CellEnrich CellEnrich(CountData, GroupInfo)
Set options before start CellEnrich
.
Possible options are :
After 30 seconds ~ 1 min, analysis result will be appear.
used Test environment :
CellEnrich is consisted with 3 modules.
Left plot is scatter plot created with t-SNE
or U-MAP
and ggplot2
that user selected in option.
In this tutorial, scatter plot is t-SNE
result.
this scatter plot can be emphasized with 4 buttons:
TOCOLOR
button ( default ) will colorize as group information.
TOGRAY
button will colorize all dots to gray color.
FREQUENT
button will colorize frequently enriched cell in each group.SIGNIFICANT
button will colorize most significantly enriched cell in each group.Right plot is histogram plot created with highcharter
to see distribution of Group / Cell labels.
User can download both result with save
button (LEFT) and export
options in right top (RIGHT).
This marker module will show Differentially Expressed genes in :
Each group ( using findMarker in scran )
Each group and pathway specific ( using fisher's exact test )
This pathway module will show significant pathways for each groups in table format.
To use emphasize feature, user should clear sortable
list with CLEARLIST
button.
For each group, only 1 pathway can be selected for emphasize in scatter plot.
2 emphasize option can be used.
WITHOUTORDER
: This will emphasize cells with selected pathway is enriched.WITHORDER
: This will emphasize cells with selected pathway is enriched. and also it will generate path based on order in sortable
Using SAVE
button in pathways module, user can download pathway - group significance table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.