2021-02-21 20:59:39 +01:00
|
|
|
library(immuneSIM)
|
|
|
|
|
2021-02-25 20:00:35 +01:00
|
|
|
generate_repertoires <- function(number_of_sequences) {
|
|
|
|
a_chain <- immuneSIM(
|
|
|
|
number_of_seqs = number_of_sequences,
|
|
|
|
species = "hs",
|
|
|
|
receptor = "tr",
|
|
|
|
chain = "a",
|
|
|
|
verbose = TRUE
|
|
|
|
)
|
|
|
|
b_chain <- immuneSIM(
|
|
|
|
number_of_seqs = number_of_sequences,
|
|
|
|
species = "hs",
|
|
|
|
receptor = "tr",
|
|
|
|
chain = "b",
|
|
|
|
verbose = TRUE
|
|
|
|
)
|
|
|
|
return(list("a_chain" = a_chain, "b_chain" = b_chain))
|
|
|
|
}
|
2021-02-21 20:59:39 +01:00
|
|
|
|
|
|
|
|