The package contains functions for exploratory oligonucleotide array analysis. The dependence on tkWidgets only concerns few convenience functions. 'affy' is fully functional without it.
中文简介正在准备中。当前显示原文说明。
The package comprises a set of pretrained machine learning models to predict basic immune cell types. This enables all users to quickly get a first annotation of the cell types present in their dataset without requiring prior knowledge. scAnnotatR also allows users to train their own models to predict new cell types based on specific research needs.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Train a new SVM classifier for an independent cell type and evaluate its performance.
library(scRNAseq)
library(scAnnotatR)
# Load dataset and subset
zilionis <- ZilionisLungData()
train_set <- zilionis[, 1:2500]
# Define labels
train_set$B_cell <- ifelse(is.na(train_set$`Most likely LM22 cell type`),
'ambiguous',
ifelse(train_set$`Most likely LM22 cell type` %in% c('Plasma cells', 'B cells memory', 'B cells naive'),
'B cells', 'others'))
# Define marker genes
selected_marker_genes_B <- c("CD19", "MS4A1", "CD79A")
# Train classifier
classifier_B <- train_classifier(
train_obj = train_set,
cell_type = "B cells",
marker_genes = selected_marker_genes_B,
assay = 'counts',
tag_slot = 'B_cell'
)
Input: A SingleCellExperiment object with cell type annotations and a vector of marker genes; Output: A trained scAnnotatR classifier object.
Train a classifier for a cell subtype (child model) that depends on a parent classifier.
library(scAnnotatR)
library(scRNAseq)
# Load parent model
default_models <- load_models("default")
# Prepare training data
zilionis <- ZilionisLungData()
train_set <- zilionis[, 1:100]
train_set$CD4_T <- "others"
# Train child classifier
classifier_CD4 <- train_classifier(
train_obj = train_set,
cell_type = "CD4 T cells",
marker_genes = c("CD4"),
assay = "counts",
tag_slot = "CD4_T"
)
Input: A training SingleCellExperiment/Seurat object and marker genes; Output: A trained child classifier.
Classify cell types in a single-cell RNA-seq dataset using pretrained models.
library(scAnnotatR)
library(Seurat)
# Load example dataset
data("tirosh_mel80_example")
# Classify cells
seurat.obj <- classify_cells(
classify_obj = tirosh_mel80_example,
assay = 'RNA',
layer = 'counts',
cell_types = c('B cells', 'NK', 'T cells'),
path_to_models = 'default'
)
# Visualize
DimPlot(seurat.obj, group.by = "most_probable_cell_type")
FeaturePlot(seurat.obj, features = "B_cells_p")
Input: A Seurat or SingleCellExperiment object; Output: An annotated object with predicted cell types and probabilities in metadata.
classify_cells.train_classifier.load_models.Seurat or scater directly).Seurat or SingleCellExperiment object.'ambiguous').'RNA' or 'counts'): The assay to use for classification or training.'counts'): The layer of the assay containing expression data.'all').'default'): Path to load pretrained models or a local database.'ambiguous' during training so they are ignored by scAnnotatR.set.seed) before training to ensure reproducibility when the package automatically balances positive and negative cells.CD19, MS4A1 for B cells) using FeaturePlot and comparing with most_probable_cell_type./, ,, -) which are automatically treated as ambiguous and removed.SingleR: For reference-based single-cell cell type annotation.Seurat: For manual marker-based cell type annotation.scmap: For projecting cells onto reference datasets.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
The package contains functions for exploratory oligonucleotide array analysis. The dependence on tkWidgets only concerns few convenience functions. 'affy' is fully functional without it.
中文简介正在准备中。当前显示原文说明。
This tool uses the label-tree function from HyPhy to annotate a phylogenetic tree. It allows users to select a subset of leaves using either a regular expression or a list of sequence names, and then apply a specified label to these selecte
中文简介正在准备中。当前显示原文说明。
This package provides a client for the Bioconductor AnnotationHub web resource. The AnnotationHub web resource provides a central location where genomic files (e.g., VCF, bed, wig) and other resources from standard locations (e.g., UCSC, En
中文简介正在准备中。当前显示原文说明。
apeglm provides Bayesian shrinkage estimators for effect sizes for a variety of GLM models, using approximation of the posterior for individual coefficients.
中文简介正在准备中。当前显示原文说明。
ASURAT is a software for single-cell data analysis. Using ASURAT, one can simultaneously perform unsupervised clustering and biological interpretation in terms of cell type, disease, biological process, and signaling pathway activity. Inputting a single-cell RNA-seq data and knowledge-based databases, such as Cell Ontology, Gene Ontology, KEGG, etc., ASURAT transforms gene expression tables into original multivariate tables, termed sign-by-sample matrices (SSMs).
中文简介正在准备中。当前显示原文说明。
AUCell allows to identify cells with active gene sets (e.g. signatures, gene modules...) in single-cell RNA-seq data. AUCell uses the "Area Under the Curve" (AUC) to calculate whether a critical subset of the input gene set is enriched with
中文简介正在准备中。当前显示原文说明。