check_annotation: check for correct column names in annotation file and replace...

View source: R/dataset.R

check_annotationR Documentation

check for correct column names in annotation file and replace them if necessary

Description

check for correct column names in annotation file and replace them if necessary

Usage

check_annotation(annotation, cell_column = "cell_type", id_column = 1)

Arguments

annotation

dataframe; annotation dataframe

cell_column

name of cell-type column; default is "cell_type"

id_column

name of cell ID column; default is 1, which uses the rownames

Value

annotation dataframe with correct column names


omnideconv/SimBu documentation built on May 5, 2024, 12:33 p.m.