add_annotation_by_cluster_annotation_mapping_df: add_annotation_by_cluster_annotation_mapping_df

View source: R/loom.R

add_annotation_by_cluster_annotation_mapping_dfR Documentation

add_annotation_by_cluster_annotation_mapping_df

Description

Add annotation as column attribute using cluster annotation mapping data.frame

Usage

add_annotation_by_cluster_annotation_mapping_df(
  loom,
  key,
  clustering.name,
  annotation.df = NULL,
  annotation.df.cluster.id.column.name = NULL,
  annotation.df.annotation.column.name = NULL
)

Arguments

loom

The loom file handler.

key

The name of the annotation

clustering.name

The name of the clustering.

annotation.df

The data.frame containing the cluster annotatiion mapping

annotation.df.cluster.id.column.name

The column name of the given annotation.df containing the cluster ID values

annotation.df.annotation.column.name

The column name of the given annotation.df containing the annotation values.


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