geomSketch: Run Geometric Sketching

View source: R/processing.R

geomSketchR Documentation

Run Geometric Sketching

Description

Run Geometric sketching sampling. See Hie et al. 2019 Cell Systems for details.

Usage

geomSketch(
  data,
  geom_size = 1000,
  n_pca = 10,
  scale = TRUE,
  seed = 1,
  which_python = Sys.which(names = "python3")
)

Arguments

data

An M x d sparse matrix or data.frame with M rows of data points and d columns of features.

geom_size

Size of geometric sketches to return. Default is 1000.

n_pca

Number of PCA dimensions to use. Default is 10.

scale

Whether to scale the data. Default is TRUE.

seed

Random seed number for PCA. Default is 1.

which_python

Path to python3 used.

Value

Returns geometric sketch IDs.


stevexniu/scMatchmaker documentation built on June 2, 2022, 12:35 p.m.