sponge_subsampling: Sponge subsampling

Description Usage Arguments Value References Examples

View source: R/fn_subsampling.R

Description

Sponge subsampling

Usage

1
2
3
sponge_subsampling(subsample.n = 100, subsample.repeats = 10,
  subsample.with.replacement = FALSE, subsample.plot = FALSE,
  gene_expr, mir_expr, ...)

Arguments

subsample.n

the number of samples to be drawn in each round

subsample.repeats

how often should the subsampling be done?

subsample.with.replacement

logical, should we allow samples to be used repeatedly

subsample.plot

logical, should the results be plotted as box plots

gene_expr

A gene expression matrix with samples in rows and featurs in columns. Alternatively an object of class ExpressionSet.

mir_expr

A miRNA expression matrix with samples in rows and features in columns. Alternatively an object of class ExpressionSet.

...

parameters passed on to the sponge function

Value

a summary of the results with mean and standard deviations of the correlation and sensitive correlation.

References

sponge

Examples

1
2
3
sponge_subsampling(gene_expr = gene_expr,
mir_expr = mir_expr, mir_interactions = mir_interactions,
subsample.n = 10, subsample.repeats = 1)

SPONGE documentation built on Nov. 8, 2020, 5:39 p.m.