featureScoreVisualization: visualize cells on the 2D space with features overlayed

Description Usage Arguments

View source: R/scAI_plotting.R

Description

visualize cells on the 2D space with features overlayed

Usage

1
2
3
4
featureScoreVisualization(object, feature.use = NULL, feature.scores,
  method = "VscAI", colormap = "RdPu", color.direction = 1,
  nCol = NULL, xlabel = "VscAI1", ylabel = "VscAI2", show.axes = T,
  cell.size = 0.3, show.legend = T, show.legend.combined = F)

Arguments

object

scAI object

feature.use

a vector of features

feature.scores

a matrix containing the feature scores

method

dimensional reduction method, e.g., VscAI, tsne, umap

colormap

RColorbrewer palette to use

color.direction

Sets the order of colours in the scale. If 1, the default, colours are as output by RColorBrewer::brewer.pal(). If -1, the order of colours is reversed.

nCol

number of columns of the plot

xlabel

label shown on x-axis

ylabel

label shown on y-axis

show.axes

whether show the axes

cell.size

the size of points (cells)

show.legend

whether show individual legend

show.legend.combined

whether just show one legend


sqjin/scAI documentation built on Nov. 19, 2020, 4:04 p.m.