generate_controlled_bootstrap_geneset: generate_controlled_bootstrap_geneset

Description Usage Arguments Value Examples

View source: R/generate_controlled_bootstrap_geneset.r

Description

generate_controlled_bootstrap_geneset Used to generated celltype controlled bootstraped

Usage

1
2
3
4
5
6
7
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

1
# See controlled_geneset_enrichment.r

NathanSkene/EWCE documentation built on June 19, 2021, 5:40 a.m.