-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
288 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
^vignettes/articles$ | ||
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,5 +48,8 @@ Imports: | |
viridis | ||
Suggests: | ||
doParallel, | ||
Seurat | ||
knitr, | ||
rmarkdown, | ||
Seurat | ||
LazyData: true | ||
VignetteBuilder: knitr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
url: https://tvegawaichman.github.io/scXplorer/ | ||
|
||
development: | ||
mode: auto | ||
|
||
template: | ||
bootstrap: 5 | ||
params: | ||
bootswatch: superhero | ||
# includes: | ||
# in-header: | | ||
# <script defer data-domain="indrajeetpatil.github.io/ggstatsplot" src="https://plausible.io/js/plausible.js"></script> | ||
bslib: | ||
base_font: { google: "Roboto" } | ||
heading_font: { google: "Roboto" } | ||
code_font: { google: "JetBrains Mono" } | ||
|
||
articles: | ||
- title: Sections | ||
navbar: Sections | ||
desc: Details about sections | ||
contents: | ||
- articles/Summary | ||
- articles/Markers | ||
- articles/Gene_Expression | ||
- articles/Differential_Expression | ||
- articles/Exploratory_Data_Analysis | ||
- articles/Visual_Tools |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: "Differential Expression" | ||
--- | ||
|
||
```{r, include = FALSE} | ||
knitr::opts_chunk$set( | ||
echo = FALSE, | ||
fig.path = "man/figures/", | ||
collapse = TRUE, | ||
comment = "#>" | ||
) | ||
``` | ||
|
||
|
||
<p align="justify"> | ||
In this section, the differentially expressed genes between two clusters can be obtained. The algorithm used is `findMarkers()` from the scran package and the test type can be defined in the `createSCEobject()` function (see "Summary" section). Different significance levels can be chosen interactively for both the logFC and the FDR. Once the clusters have been chosen, a table will be displayed with the list of differentially expressed genes accompanied by the logFC and the FDR obtained for each of them. This table can be downloaded in different formats: csv, pdf, xlsx. | ||
|
||
The main figure in this section is a VolcanoPlot in which genes that are down and up expressed are coloured in blue and red, respectively. On the other hand, you can also display ViolinPlots, Spikeplots, Heatmaps and Dotplots of the differentially expressed genes. | ||
</p> | ||
|
||
|
||
```{r} | ||
knitr::include_graphics("figures/differential_expression.gif") | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: "Exploratory Data Analysis" | ||
--- | ||
|
||
```{r, include = FALSE} | ||
knitr::opts_chunk$set( | ||
echo = FALSE, | ||
fig.path = "man/figures/", | ||
collapse = TRUE, | ||
comment = "#>" | ||
) | ||
``` | ||
|
||
In **Exploratory Data Analysis** section you will be able to understand the relationship between different features contained as metadata in your SCE object. | ||
|
||
## Categories | ||
|
||
<p align="justify"> | ||
Here you can observe the proportion of cells belonging to the different levels of a categorical variable presented in the metadata and disaggregate these proportions according to the levels of another categorical variable. All this information is displayed in the form of a barplot. In the subsection "Matrix" a confusion matrix between the two selected features can be plotted with the option to display the Jaccard index for each of the grid cells. In addition, the Rand index is displayed, which is a global measure of the similarity between the two clusterings. | ||
</p> | ||
|
||
|
||
```{r} | ||
knitr::include_graphics("figures/exploratory_categories.gif") | ||
``` | ||
|
||
|
||
## Fields | ||
|
||
In a similar way to the previous subsection, in "Field" you can explore how the value of one or more numerical variables changes as a function of another variable, either numerical or categorical. You can make different types of plots such as: Distribution Plots, Heatmaps, Dotplots and StackedViolins. | ||
|
||
|
||
```{r} | ||
knitr::include_graphics("figures/fields.gif") | ||
``` | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
title: "Gene Expression" | ||
--- | ||
|
||
```{r, include = FALSE} | ||
knitr::opts_chunk$set( | ||
echo = FALSE, | ||
fig.path = "man/figures/", | ||
collapse = TRUE, | ||
comment = "#>" | ||
) | ||
``` | ||
|
||
<p align="justify"> | ||
In "Gene Expression" you can explore different aspects of the expression of one or more genes of interest. Determine how expression changes according to different categorical and continuous variables, as well as analyse co-detection between pairs of genes. | ||
</p> | ||
|
||
### Categories | ||
|
||
<p align="justify"> | ||
In Settings you can select one or more genes or upload a file with a list of genes. The average expression of the genes of interest can be viewed in the different embeddings available, with the possibility to colour according to the different SCE partitions to compare gene expression with different cell types or conditions present in the metadata. | ||
|
||
A wide variety of plots are available to analyse the expression of the genes of interest in the different categories. Heatmaps allow normalisation of expression by gene, clustering by row and column and grouping of cells by condition. Similarly, dotplots allow normalisation of expression and group genes with similar expression pattern. | ||
</p> | ||
|
||
|
||
```{r} | ||
knitr::include_graphics("figures/categories.gif") | ||
``` | ||
|
||
|
||
## Fields | ||
|
||
<p align="justify"> | ||
Fields allows you to analyse the expression of a set of genes in relation to numeric variables present in your dataset, such as the number of counts or pseudotime value, if present in the metadata of the sce object. Below the embedding, a line plot of the average expression of the genes of interest as a function of the chosen variables and a spikeplot are displayed. Furthermore, you can find heatmaps sorted by the chosen numerical variable that can be divided according to some categorical variable, and multiline plots showing the comparison of the expression profile of the genes of interest along the field. | ||
</p> | ||
|
||
|
||
```{r} | ||
knitr::include_graphics("figures/ge_fields.gif") | ||
``` | ||
|
||
|
||
## Co-expression | ||
|
||
<p align="justify"> | ||
In Co-expression section you can analyse the co-appearance of pairs of genes, determine the number and percentage of cells in which each gene is expressed separately and together. You can also view this information graphically in the embedding. In addition, the co-expression of these genes in the different conditions of any of the partitions in the dataset can be analysed by a co-detection matrix. | ||
</p> | ||
|
||
```{r} | ||
knitr::include_graphics("figures/coexpression.gif") | ||
``` | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
title: "Markers" | ||
--- | ||
|
||
```{r, include = FALSE} | ||
knitr::opts_chunk$set( | ||
echo = FALSE, | ||
fig.path = "man/figures/", | ||
collapse = TRUE, | ||
comment = "#>" | ||
) | ||
``` | ||
|
||
<p align="justify"> | ||
This section allows to find and interact with the markers of each different clusterization. In "Markers" section there are two types of analysis. On the one hand, in "Cluster markers" clicking on a cell displays a table with the marker genes of the cluster to which that cell belongs. On the other hand, in "Find new markers" you can select a group of cells in the embedding and scXplorer will calculate their marker genes. | ||
</p> | ||
|
||
|
||
## Clusters markers | ||
|
||
<p align="justify"> | ||
This section allows you to find the marker genes for the partition defined in the single-cell object, typically cell types or cell states. Clicking on one of the cells in the embedding will display a table of marker genes for the partition to which that cell belongs. For each of the markers different metrics such as boxcor, robustness and FDR are displayed. This table can be downloaded in various formats, such as .csv, .xlsx .pdf, or you can copy it to the clipboard. | ||
|
||
By clicking on a marker in the table you can see its expression profile across the entire dataset in the embedding. In addition violin and spikeplots are displayed at the bottom. | ||
</p> | ||
|
||
```{r} | ||
knitr::include_graphics("figures/cluster_markers.gif") | ||
``` | ||
|
||
|
||
## Find new markers | ||
|
||
<p align="justify"> | ||
Here you can select with the box or lasso tool a set of cells in the embedding and scXplorer will calculate the marker genes. You can download not only the marker table but also the selected cell list. | ||
|
||
As in the previous section, if you click on one of the markers you can see its expression along the dataset with violin and spikeplots. | ||
</p> | ||
|
||
```{r} | ||
knitr::include_graphics("figures/new_markers.gif") | ||
``` | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: "Summary" | ||
--- | ||
|
||
```{r, include = FALSE} | ||
knitr::opts_chunk$set( | ||
echo = FALSE, | ||
fig.path = "man/figures/", | ||
collapse = TRUE, | ||
comment = "#>" | ||
) | ||
``` | ||
|
||
|
||
<p align="justify"> | ||
scXplorer displays a summary of the main descriptive information of the dataset: number of cells and genes, mean number of genes detected per cell, partions, experiments and average library size. | ||
|
||
In the summary section, you can explore through graphical visualization the coventional quality control metrics: this is the relationship between the number of features and the count numbers. In this plot you can distinguish the cells coming from the different partitions of the dataset. | ||
</p> | ||
|
||
```{r} | ||
knitr::include_graphics("figures/summary.gif") | ||
``` | ||
|
Oops, something went wrong.