From 7b15df761457d4d4da90b94c93c8a7bcb3e882c4 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 10 Mar 2021 12:34:20 +0100 Subject: [PATCH] Simplify repertoire generation --- src/repertoire.r | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/repertoire.r b/src/repertoire.r index 9cb5147..3be719e 100644 --- a/src/repertoire.r +++ b/src/repertoire.r @@ -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