mat2seurat: processing function

Description Usage Arguments Value

View source: R/mat2seurat.R

Description

transfer raw matrix data to Seurat object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
mat2seurat(
  Data,
  min_nFeature = 1000,
  min_nCount = 10000,
  features = NULL,
  selection.method = c("mean.var.plot", "vst", "dispersion"),
  nfeatures = NULL,
  mean.cutoff = c(0.1, Inf),
  dispersion.cutoff = c(0.1, Inf),
  names.filed = 1,
  names.delim = "_"
)

Arguments

Data

gene*cell matrix

min_nFeature

Include cells where at least this many features are detected

min_nCount

Include cells where at least this many counts are detected

features

Vector of features to use as variable features.

selection.method

How to choose top variable features.

nfeatures

Number of features to select as top variable features; only used when selection.method is set to 'dispersion' or 'vst'

mean.cutoff

A two-length numeric vector with low- and high-cutoffs for feature means

dispersion.cutoff

A two-length numeric vector with low- and high-cutoffs for feature dispersions

Value

Seurat object


wycwycpku/RSCORE documentation built on Sept. 5, 2021, 4:25 p.m.