Extact and print bootstrap GLM fit

# S3 method for cytoglm
print(x, ...)

Arguments

x

A cytoglm class

...

Other parameters

Value

NULL.

Examples

set.seed(23)
df <- generate_data()
protein_names <- names(df)[3:12]
df <- dplyr::mutate_at(df, protein_names, function(x) asinh(x/5))
glm_fit <- CytoGLMM::cytoglm(df,
                             protein_names = protein_names,
                             condition = "condition",
                             group = "donor",
                             num_boot = 10) # in practice >=1000
print(glm_fit)
#> 
#> #######################
#> ## paired analysis ####
#> #######################
#> 
#> number of bootstrap samples: 10 
#> 
#> number of cells per group and condition:   
#>     control treatment
#>   1    1000      1000
#>   2    1000      1000
#>   3    1000      1000
#>   4    1000      1000
#>   5    1000      1000
#>   6    1000      1000
#>   7    1000      1000
#>   8    1000      1000
#> 
#> proteins included in the analysis:
#>  m01 m02 m03 m04 m05 m06 m07 m08 m09 m10 
#> 
#> condition compared: condition 
#> grouping variable: donor