renameCells: Rename cells in a cisTopic object

View source: R/InitializecisTopic.R

renameCellsR Documentation

Rename cells in a cisTopic object

Description

Rename cells in a cisTopic object

Usage

renameCells(object, names, ...)

Arguments

object

cisTopic object

names

Vector with the new names to be given to the cells.

...

Ignored

Value

Returns a cisTopic object with updated cell names in the relevant slots.

Examples

cisTopic_mel <- createcisTopicObject(count.matrix = count.matrix)
cisTopic_mel <- renameCells(cisTopic_mel, names)

cisTopic_mel


aertslab/cisTopic documentation built on April 6, 2024, 9:31 p.m.