sub_clusters: Extracting selected clusters.

View source: R/SingleCellRNASeq.R

sub_clustersR Documentation

Extracting selected clusters.

Description

Extracting selected clusters.

Usage

sub_clusters(
  object,
  cluster.type = c("louvain", "walktrap", "kmeans", "merged_louvain", "merged_walktrap",
    "merged_kmeans"),
  cluster_ids = c()
)

Arguments

object

The SingCellaR object.

cluster.type

The clustering method name.

cluster_ids

The vector of cluster ids that will be removed e.g. c('cl1:cl2','cl9:cl10').

Value

new SingCellaR object with selected clusters.


supatt-lab/SingCellaR documentation built on Aug. 24, 2023, 5:49 p.m.