add_clustering_annotation: Add Clustering Annotations

View source: R/data.R

add_clustering_annotationR Documentation

Add Clustering Annotations

Description

This function will add clustering annotations (i.e memberships) to the metadata of the Seurat Object of the matching data. Any clustering method can be used to obtain these memberships. The annotation name will include the clustering type and the cells cluster ID.

Usage

add_clustering_annotation(dataList, memberships, clusteringName)

Arguments

dataList

A list of data sets to add the clustering annotation too

memberships

A list of the cluster memberships of each cell, used to add the annotation

clusteringName

The name of the clustering method used to obtain the clustering membership

Value

A list of the data sets with the clustering annotations added


NWhitener/benchmarking documentation built on Oct. 23, 2023, 12:20 a.m.