Create a summary table with number of reads and unique alpha/beta chains
summarize_data.RdThis function creates a summary table with the number of reads and unique alpha/beta chains observed for each sample.
Examples
load_example_data(dataset = "SJTRC_longitudinal")
#> Example data already loaded into object: 'SJTRC_longitudinal'
summarize_data(SJTRC_longitudinal)
#> # A tibble: 6 × 6
#> sample_id n_alpha_clones n_beta_clones n_clone_pairs n_reads_alpha
#> <chr> <int> <int> <int> <int>
#> 1 cd4_tp1_v2 1972376 1867891 47828 76225265
#> 2 cd4_tp2_v2 1966962 1776782 32672 74060977
#> 3 cd4_tp3_v2 2062013 1930208 39012 66235760
#> 4 cd8_tp1_v2 937875 928777 14273 68573045
#> 5 cd8_tp2_v2 980522 895688 17891 68560963
#> 6 cd8_tp3_v2 850578 830552 13995 58978542
#> # ℹ 1 more variable: n_reads_beta <int>