add_clustering_markers: add_clustering_markers

View source: R/loom.R

add_clustering_markersR Documentation

add_clustering_markers

Description

Add the clustering markers as a row attribute to the given .loom file handler.

Usage

add_clustering_markers(
  loom,
  clustering.id,
  clustering.markers,
  marker.metric.accessors = NULL,
  marker.metric.names = NULL,
  marker.metric.descriptions = NULL
)

Arguments

loom

The loom file handler.

clustering.id

The clustering id that the given clustering.markers are specific for.

clustering.markers

A list of markers of each cluster found for the given clustering.id.

marker.metric.accessors

A list of the column names of the metrics to extract from the cluster marker data.frame in the given clustering.markers.

marker.metric.names

A list of names to attribute to the given marker.metric.accessor.

marker.metric.descriptions

A list of description to attribute to the given marker.metric.accessor.

dgem

A matrix of the gene expression with M genes as rows and N cells as columns.


aertslab/SCopeLoomR documentation built on April 19, 2022, 11:25 a.m.