00_chmi_r_readme.md

chmi.phen() function

chmi.phen() r code exemple


> dat <- chmi.phen(
    data_type = 'ab_data',
    aim_ab_data = 'aim_3',
    fold_change = FALSE,
    group_tr = 'ab_select',
    traits = 'mean_ratio')

> dat
# A tibble: 13,542 x 15
   original_id dataset gender gr_hbs gr2_hbs hb_status_ori ppp_time_ori status_ori mean_ratio antigen   log10_mfi mfi_corr t_igg t_point t2_point
   <fct>       <fct>   <fct>  <fct>  <fct>   <fct>                <dbl> <fct>           <dbl> <fct>         <dbl>    <dbl> <fct> <fct>   <fct>   
 1 L1_001      L1      M      naive  naive   AA                    14.1 naive           0.947 ama1_3d71      4.24   17406. IgG   C_1     C_1     
 2 L1_001      L1      M      naive  naive   AA                    14.1 naive           0.947 ama1_3d71      4.44   27590. IgG   D7      D7      
 3 L1_001      L1      M      naive  naive   AA                    14.1 naive           0.947 ama1_3d71      5.86  731660. IgG   D13     D11_D13 
 4 L1_001      L1      M      naive  naive   AA                    14.1 naive           0.947 ama1_3d71      5.93  858952. IgG   D28     D28     
 5 L1_001      L1      M      naive  naive   AA                    14.1 naive           0.938 ama1_fvo       4.22   16642. IgG   C_1     C_1     
 6 L1_001      L1      M      naive  naive   AA                    14.1 naive           0.938 ama1_fvo       4.40   25081. IgG   D7      D7      
 7 L1_001      L1      M      naive  naive   AA                    14.1 naive           0.938 ama1_fvo       5.77  591384. IgG   D13     D11_D13 
 8 L1_001      L1      M      naive  naive   AA                    14.1 naive           0.938 ama1_fvo       5.61  403398. IgG   D28     D28     
 9 L1_001      L1      M      naive  naive   AA                    14.1 naive           0.657 cel_tos        5.00  100257. IgG   C_1     C_1     
10 L1_001      L1      M      naive  naive   AA                    14.1 naive           0.657 cel_tos        5.07  118665. IgG   D7      D7      
# ... with 13,532 more rows

main chmi.stat_summary.R functions

main chmi.stat_lm.R functions

main chmi.stat_plots.R functions

main chmi.stat_tools.R functions



mvazquezs/chmitools documentation built on May 1, 2020, 2:06 a.m.