Learn R Programming

SnapATAC (version 1.0.0)

plotDimReductPW: Pairwise plot for Dimentionality Reduction Result

Description

Pairwise plot for Dimentionality Reduction Result

Usage

plotDimReductPW(obj, eigs.dims, point.size, point.color, point.shape,
  point.alpha, down.sample, pdf.file.name, pdf.height, pdf.width)

Arguments

obj

A snap object

eigs.dims

Eigenvectors to plot [1:30]

point.size

Point size [2].

point.color

Point color ["grey"].

point.shape

Point shape type [19].

point.alpha

Point transparancy level [1].

down.sample

Number of cells to plot. down.sample cells will be randomly downsampled for plot if there are more cells.

pdf.file.name

pdf file name to save the plot [NULL].

pdf.height

the height of the graphics region in inches [7].

pdf.width

the width of the graphics region in inches [7].

Examples

Run this code
# NOT RUN {
data(demo.sp);
plotDimReductPW(demo.sp, eigs.dims=1:10);

# }

Run the code above in your browser using DataLab