extractStats: extractStats

View source: R/extractStats.R

extractStatsR Documentation

extractStats

Description

Get a string of stats for plots, from an rstatix-results df (t-test/wilcox + respective effect sizes)

Usage

extractStats(df, filterp = "yes", num = 0.05)

Arguments

df

Rstatix results dataframe after Welch's t-test or Wilcoxon test.

filterp

Should the dataframe be filtered for their p.adj value? Default 'yes'.

num

If filterp is 'yes', only features with p.adj values < num are kept. Default is 0.05.

Value

A dataframe with the feature column and a new 'string' column with stats that can be used as titles for plots.


AslaugL/thesisToolsOmics documentation built on April 3, 2022, 8:16 p.m.