# Limit the number of threads used by the underlying DB for this session.
# Change this only if you know what you're doing (e.g., multi-user machines, shared CI/servers).
db_exec("SET threads TO 1")
# Load data
if (FALSE) {
immdata <- get_test_idata() |> agg_repertoires("Therapy")
}
#
# airr_clonality_line
#
if (FALSE) {
top_line <- airr_clonality_line(immdata, limit = 1000)
}
#
# airr_clonality_rank
#
if (FALSE) {
rank_stat <- airr_clonality_rank(immdata, bins = c(10, 100))
}
#
# airr_clonality_prop
#
if (FALSE) {
prop_stat <- airr_clonality_prop(immdata)
}
Run the code above in your browser using DataLab