generate_controlled_bootstrap_geneset {EWCE}R Documentation

generate_controlled_bootstrap_geneset

Description

generate_controlled_bootstrap_geneset Used to generated celltype controlled bootstraped

Usage

generate_controlled_bootstrap_geneset(
  hitGenes,
  sct_data,
  annotLevel,
  reps,
  controlledCT = NULL
)

Arguments

hitGenes

Array of gene names. The target gene set.

sct_data

The cell type data list (with specificity and mean_exp)

annotLevel

The level of annotation in sct_data to analyse

reps

The number of gene lists to sample

controlledCT

Name of a celltype (from colnames of sct_data[[x]]$specificity).

Value

Matrix of genes (nrows=length(hitGenes),ncols=reps), where each column is a gene list

Examples

# See controlled_geneset_enrichment.r

[Package EWCE version 1.0.1 Index]