plot_projection: Plot a projection

plot_projectionR Documentation

Plot a projection

Description

This function plots a projection object created using the project_data function

Usage

plot_projection(
  projection,
  projector,
  projectee,
  projector_col = NULL,
  projectee_col = NULL
)

Arguments

projection

projection object created by project_data function

projector

cell_data_set object with a reduced dimension matrix (currently LSI supported) as specified in reduced_dim argument and a model used to create a low dimensional embedding

projectee

a SummarizedExperiment type object (cell_data_set currently supported) to be projected using the models contained in the projector

projector_col

column name of projector to color cells by using nearest neighbor

projectee_col

column name of projectee to color cells by

colors

color palatte of projectee_col cells


scfurl/viewmaster documentation built on Nov. 22, 2022, 2:59 p.m.