Simplify repertoire generation

This commit is contained in:
coolneng 2021-03-10 12:34:20 +01:00
parent f4a001f821
commit 7b15df7614
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 5 deletions

View File

@ -2,14 +2,12 @@ library(immuneSIM)
library(Biostrings)
generate_repertoire <- function(number_of_sequences) {
b_chain <- immuneSIM(
return(immuneSIM(
number_of_seqs = number_of_sequences,
species = "hs",
receptor = "tr",
chain = "b",
verbose = TRUE
)
return(b_chain)
chain = "b"
))
}
# TODO save also v_call and j_call