set_cluster_set: Set droplets for cluster initialization

Description Usage Arguments Value

View source: R/filter.R

Description

This function sets the droplets that will be used for the initialization. The cell types from clustering these droplets are used to to intialize the parameters of the multinomal for the EM. The top cluster_n droplets ranked by either gene or count are fixed as to the debris group.

Usage

1
2
set_cluster_set(x, cluster_n = 1000, order_by = "gene",
  verbose = FALSE)

Arguments

x

An SCE object.

cluster_n

Numeric value specifying the number of droplets to use in the cluster set. The top cluster_n droplets, ranked by count or gene, are included in the cluster set.

order_by

Whether to order the droplets by total number of total counts or total number of genes detected.

verbose

verbosity

Value

An SCE object.


diem documentation built on Nov. 16, 2019, 1:08 a.m.