plotFtCorlines: Plot correlation trendlines between different features

View source: R/plotFeatureCorr.R

plotFtCorlinesR Documentation

Plot correlation trendlines between different features

Description

Plot correlation trendlines between different features

Usage

plotFtCorlines(
  dataset1 = NULL,
  dataset2 = NULL,
  method = c("pearson", "kendall", "spearman"),
  factor = NULL,
  features1 = NULL,
  features2 = NULL,
  sigsOnly = T,
  alpha = 0.05,
  r_cutoff = 0.5
)

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 themselves

features2

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

sigsOnly

Only plot significant correlations (after adjusting for multiple comparisons)? Defaults to TRUE

alpha

Significance threshold. Defaults to 0.05

r_cutoff

Correlation coefficient threshold. Defaults to 0 (all correlation values will be accepted when choosing which correlations to plot)


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