This repository consists of a R script for single-cell analysis using Seurat and annotation based on scCATCH.
It is divided into 3 parts:
This block of commands performs the typical Seurat single cell functions by creating the Seurat object, filtering the data, finding the clusters and creating plots like UMAP for visualization.Then, it finds anchors and integrates the entire dataset for further analysis.
scCATCH is used to realize the automatic annotation for each identified cluster. For this, please define the species, cancer type and tissue type accordingly.
https://github.com/ZJUFanLab/scCATCH
This section of the code helps to display all the markers associated in each cluster and plotting them for noting the differential gene expression.
Note 1: Install the packages in the order listed below.
Note 2: When installing the following packages, if you are asked to select (a/s/n) or (y/n), please select “a” or "y" as applicable.
Note 3: All the package names listed below are case sensitive!
- Install all the packages listed below from CRAN using install.packages() function.
-devtools
-Seurat
-cowplot
-ggplot2
-patchwork
-metap
-
Install the scCATCH package from Bioconductor using the the BiocManager::install() function.
BiocManager::install("scCATCH") -
Finally, please check that all the packages were installed successfully by loading them one at a time using the library() function.
library(Seurat) library(metap) library(scCATCH)