View source: R/find_rho_and_var.R
run_cor_bootstrap | R Documentation |
This function provides the more low-level functionality
of bootstrapping the Spearman correlations of the columns within a dataset.
Only use this function if you want
a low-level interface, else run_csd
provides a more streamlined approach if you want to do a CSD analysis.
run_cor_bootstrap(
x,
n_it = 20L,
nThreads = 1L,
verbose = TRUE,
iterations_gap = 1L
)
x |
Numeric matrix, the gene expression matrix to analyse. Genes are in columns, samples are in rows. |
n_it |
Integer, number of bootstrap iterations |
nThreads |
Integer, number of threads to use for computations |
verbose |
Logical, should progress be printed? |
iterations_gap |
If output is verbose - Number of iterations between
each status message
(Default=1 - Displayed only if |
A list with two fields
Numeric matrix constaining the bootstrapped mean of the Spearman correlation between each column
Numeric matrix constaining the bootstrapped variance of the Spearman correlation between each column
data("normal_expression")
cor_res <- run_cor_bootstrap(
x = normal_expression,
n_it = 100, nThreads = 2L
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.