
Get the ADT sample info
get_adt_sample_info.RdReturns sample information in terms of ADT capture, number of features, etc.
Examples
# per-cell ADT capture: non-zero proteins and library size
adt <- generate_single_cell_test_data_adt()
cell_info <- stats::setNames(
seq_len(nrow(adt$counts)),
rownames(adt$counts)
)
adt_clr <- new_adt_counts_clr(adt$counts, cell_info = cell_info)
head(get_adt_sample_info(adt_clr))
#> cell_idx adt_nnz adt_lib_size
#> <int> <num> <num>
#> 1: 1 14 3296
#> 2: 2 15 2101
#> 3: 3 15 3409
#> 4: 4 14 2090
#> 5: 5 15 3664
#> 6: 6 13 3080