SingleR.DrawScatter: Plot a scatter plot of a single cell vs. a reference sample

Description Usage Arguments Value

View source: R/SingleR.Plotting.R

Description

Plot a scatter plot of a single cell vs. a reference sample

Usage

1
SingleR.DrawScatter(sc_data, cell_id, ref, sample_id)

Arguments

sc_data

the single-cell RNA-seq data set as a matrix with genes as rownames.

cell_id

a number of the single cell to use

ref

the reference dataset with genes as rownames. Gene names must be in the same format as the single cell data (if sc_data uses genes symbols, ref_data must have the same)

sample_id

a number of the sample to use

Value

a ggplot


dviraran/SingleR documentation built on April 21, 2020, 3:23 p.m.