add_gene_symbols: Add Gene symbols to a SingleCellExperiment from a GTF file

View source: R/add_gene_symbols.R

add_gene_symbolsR Documentation

Add Gene symbols to a SingleCellExperiment from a GTF file

Description

Add Gene symbols to a SingleCellExperiment from a GTF file

Usage

add_gene_symbols(sce, gene_info)

Arguments

sce

SingleCellExperiment object

gene_info

A GRanges object or data frame with annotation information corresponding to the SCE. Most importantly should contain a 'gene_id' column that matches the row names of the SCE and a 'gene_name' column with the gene symbols should be included.

Value

SingleCellExperiment with gene_symbols added (or replaced) to the rowData table.


AlexsLemonade/scpcaTools documentation built on July 12, 2024, 8:34 a.m.