generate_pseudo_bulk_data-Seurat-method: generate_pseudo_bulk_data - Seurat

generate_pseudo_bulk_data,Seurat-methodR Documentation

generate_pseudo_bulk_data - Seurat

Description

Generate Pseudo Bulk Data for Seurat Objects

Usage

## S4 method for signature 'Seurat'
generate_pseudo_bulk_data(
  object,
  group_by = NULL,
  split_by = "random",
  k_variable = 4
)

Arguments

object

The object to analyse.

group_by

entry in metadata table, based on these cluster annotation pseudo bulk is performed

split_by

variable -> split by a variable within the metadata; k must be a string random -> splits based on a random number; k must be a number Louvain, Louvain_multilevel, SLM, Leiden -> subclusters k must be a list with [resolution, cluster_1, cluster_2]

k_variable

variable dependent on the split_by

Value

returns pseudo bulk generated data


reactome/ReactomeGSA documentation built on Nov. 9, 2024, 10:56 a.m.