View source: R/annotate_sce_genes.R
| annotate_sce_genes | R Documentation |
Adds biomaRt annotations (e.g. gene, gene_biotype) and calculates the following QC metrics:
qc_metric_ensembl_mapped - was the ensembl_gene_id found in biomaRt
qc_metric_is_mito - is the gene mitochondrial
qc_metric_is_ribosomal - is the gene ribosomal
annotate_sce_genes(
sce,
drop_unmapped = TRUE,
drop_mito = TRUE,
drop_ribo = FALSE,
ensembl_mapping_file = NULL,
species = getOption("scflow_species", default = "human")
)
sce |
a SingleCellExperiment object with ensembl_gene_id rowData |
drop_unmapped |
set |
drop_mito |
set |
drop_ribo |
set |
ensembl_mapping_file |
a local tsv file with ensembl_gene_id and additional columns for mapping ensembl_gene_id to gene info. If not provided, the biomaRt db is queried (slower). |
species |
The biological species of the sample.#' |
sce a SingleCellExperiment object annotated with gene data
Other annotation functions:
.preprocess_seurat_object(),
annotate_celltype_metrics(),
annotate_integrated_sce(),
annotate_merged_sce(),
annotate_sce(),
annotate_sce_cells(),
filter_sce(),
find_cells(),
find_singlets(),
generate_sce(),
map_ensembl_gene_id(),
merge_sce(),
read_metadata(),
report_celltype_metrics(),
report_celltype_model(),
report_merged_sce(),
report_qc_sce(),
run_doubletfinder(),
sce_to_seu()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.