get_summed_proportions: Get summed proportions

Description Usage Arguments Value Examples

View source: R/get_summed_proportions.r

Description

get_summed_proportions Given the target geneset, randomly sample genelists of equal length, obtain the specificity of these and then obtain the mean specificity in each sampled list (and the target list)

Usage

1
2
3
4
5
6
7
8
9
get_summed_proportions(
  hitGenes,
  sct_data,
  annotLevel,
  reps,
  geneSizeControl,
  controlledCT = NULL,
  control_network = 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

geneSizeControl

Boolean. Should the sampled gene lists control for GC content and transcript length?

controlledCT

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

control_network

If geneSizeControl=TRUE, then must provide the control network

Value

A list containing three data frames:

Examples

1
# See bootstrap_enrichment_test.r

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