Perform T-Test on Pseudo-Cell Delta Values
pseudo_cell_t_test.RdThis function reconstructs a phylogenetic tree for a specific chromosome and allele, then performs a one-sample t-test on the delta values (difference between G and B distances).
Arguments
- fit
A fitted model object containing tree structure and distance functions
- chr
Character string specifying the chromosome
- allele
Character string specifying the allele type
- mu
Numeric value for the null hypothesis mean (default: 0)
- sign
Logical indicating whether to use sign of delta values (default: FALSE)