Performs a Welch's t-test and calculates p-values between two groups.

ttest_protti(mean1, mean2, sd1, sd2, n1, n2, log_values = TRUE)

mean1 | a numeric vector that contains the means of group1. |
---|---|

mean2 | a numeric vector that contains the means of group2. |

sd1 | a numeric vector that contains the standard deviations of group1. |

sd2 | a numeric vector that contains the standard deviations of group2. |

n1 | a numeric vector that contains the number of replicates used for the calculation of each mean and standard deviation of group1. |

n2 | a numeric vector that contains the number of replicates used for the calculation of each mean and standard deviation of group2. |

log_values | a logical value that indicates if values are log transformed. This determines
how fold changes are calculated. Default is |

A data frame that contains the calculated differences of means, standard error, t statistic and p-values.

ttest_protti( mean1 = 10, mean2 = 15.5, sd1 = 1, sd2 = 0.5, n1 = 3, n2 = 3 )#> diff std_error t_statistic pval #> 1 -5.5 0.6454972 -8.520563 0.003659956