samplingDataBase: Outputs a table of sampling data(rows are miRNA and cols are...

View source: R/utils.R

samplingDataBaseR Documentation

Outputs a table of sampling data(rows are miRNA and cols are samples)

Description

Outputs a table of sampling data(rows are miRNA and cols are samples)

Usage

samplingDataBase(
  enrichNull,
  selector,
  sampRate,
  fn,
  nPaths,
  samplingDataFile,
  jackKnife = FALSE,
  saveSampling,
  numCores = 1,
  autoSeed = TRUE
)

Arguments

enrichNull

Enrichment dataset with x (miRNA), y (pathway) and pval (probability of observing x in pathway cluster).

selector

Table with x(miRNA) in pathway cluster.

sampRate

Sampling rate.

fn

Methodology function.

nPaths

Number of pathways in pathway cluster.

samplingDataFile

If file exists, load. Else, perform random sampling

jackKnife

If TRUE, conduct sampling with one less pathway, used for jack knifing

saveSampling

If TRUE, data is saved.

numCores

number of cores used

autoSeed

random permutations are generated based on predetermined seeds. TRUE will give identical results in different runs.

Value

Outputs of sampling data.


pouryany/PanomiR documentation built on Aug. 20, 2022, 11:17 p.m.