ftcor: Compute feature correlation matrices for each group and all...

View source: R/analysisFeatureCorr.R

ftcorR Documentation

Compute feature correlation matrices for each group and all groups together

Description

Compute feature correlation matrices for each group and all groups together

Usage

ftcor(
  dataset1 = NULL,
  dataset2 = NULL,
  method = c("pearson", "kendall", "spearman"),
  factor = NULL,
  features1 = NULL,
  features2 = NULL
)

Arguments

dataset1

MicroVis dataset. Defaults to the active dataset

dataset2

(Optional) MicroVis dataset with features to correlate with the 'dataset1'

method

Correlation method. One of either "pearson", "spearman", or "kendall". Defaults to "spearman"

factor

Factor to group samples by

features1

(Optional) Specific features to consider from first dataset. If only one dataset is being used, then these features will be correlated with features of the same dataset

features2

(Optional) Specific features to consider from second dataset. If no second dataset is provided, then 'features1' will be correlated with 'features2' from 'dataset1'

Value

List of correlation matrices for each group with additional matrices containing p-values and adjusted p-values


microresearcher/MicroVis documentation built on Feb. 8, 2024, 10:59 a.m.