generate_pseudo_bulk_data-SingleCellExperiment-method: generate_pseudo_bulk_data - SingleCellExperiment

generate_pseudo_bulk_data,SingleCellExperiment-methodR Documentation

generate_pseudo_bulk_data - SingleCellExperiment

Description

generate_pseudo_bulk_data - SingleCellExperiment

Usage

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

Arguments

object

The SingleCellExperiment 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 subclustering [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.