f_my_correlation_test {scROSHI}R Documentation

Spearman correlation test

Description

Calculate spearman correlation p-value or return preset values.

Usage

f_my_correlation_test(x, y, min_genes = 5)

Arguments

x

A numeric vector of values.

y

A numeric vector of values.

min_genes

A numeric value defining the threshold for the minimum number of genes.

Value

A numeric value representing the p value of the Spearman correlation test.

Examples

f_my_correlation_test(rnorm(10,1,2),rnorm(10,5,2))

[Package scROSHI version 1.0.0.0 Index]