setClusters: setClusters

Description Usage Arguments Value Examples

Description

Calculates the clusters of cell types.

Usage

1
2
3
4
5
6
7
8
setClusters(
  object,
  customClust = NA,
  classifier = NA,
  num.classifiers = NA,
  k.f = 100,
  ...
)

Arguments

object

object of the SingleCellExperiment class.

customClust

A numeric vector containg your custom cluster assignment, overrides all previous settings.

classifier

New option which allows to cluster the cells according to two or three genes given as input.

num.classifiers

How many markers should be used for each group. Check online tutorial for further help https://github.com/iaconogi/bigSCale2#classifier

k.f

Inversely proportinal to the number of clusters

plot.clusters

By default plot.clusters=FALSE. If plot.clusters=TRUE plots a dendrogram of the clusters while making the analysis.

cut.depth

By default not used. It overrides the internal decisions of bigSCale2 and forces it to cut the dendrogram at cut.depth (0-100 percent). Works ONLY if using bigSCale modality.

Value

SingleCellExperiment object with the clusters stored inside.

Examples

1
2
sce=setClusters(sce)
sce=setClusters(sce,classifier='Cd4','Cd8')

iaconogi/bigSCale2 documentation built on July 18, 2020, 8:21 p.m.