plotOneWithValues {pagoda2}R Documentation

Plot the embedding of a 'Pagoda2' object with the given values

Description

Plot the embedding of a 'Pagoda2' object with the given values

Usage

plotOneWithValues(
  p2obj,
  values,
  title = "",
  type = "PCA",
  embeddingType = "tSNE"
)

Arguments

p2obj

the 'Pagoda2' object

values

the values to plot, fed into p2obj$plotEmbedding(colors=values)

title

character Title for the plot (default="")

type

character Type reduction on which the embedding is based on (default="PCA")

embeddingType

character Type of embedding to plot (default="tSNE")

Value

NULL, simply updates p2obj$plotEmbedding()


[Package pagoda2 version 1.0.12 Index]