CreateSPARKObject: Create the SPARK object with filtering step

View source: R/spark.R

CreateSPARKObjectR Documentation

Create the SPARK object with filtering step

Description

Create the SPARK object with filtering step

Usage

CreateSPARKObject(
  counts,
  location,
  project = "SPARK",
  percentage = 0.1,
  min_total_counts = 10
)

Arguments

counts

Gene expression count matrix (data.frame), p x n – p is the number of genes and n is the number of cells

location

Cell location matrix (data.frame) or two-component of t-SNE/UMAP, n x 2

project

Project names

percentage

The percentage of cells that are expressed for analysis

min_total_counts

The minimum counts for each cell for filtering

Value

Returns SPARK object with filtered gene expression matrix


xzhoulab/SPARK documentation built on Nov. 20, 2022, 2:54 p.m.