View source: R/setProperties.R
setClusters | R Documentation |
Adds or updates clustering information to meta-data table in SoupChannel object.
setClusters(sc, clusters)
sc |
A SoupChannel object. |
clusters |
A named vector, where entries are the cluster IDs and names are cellIDs. If no names are provided, the order is assumed to match the order in |
An updated SoupChannel object with clustering information stored.
sc = load10X(system.file('extdata','toyData',package='SoupX')) mDat = read.table(system.file('extdata','toyData','metaData.tsv',package='SoupX'),sep='\t') sc = setClusters(sc,mDat$res.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.