Simplify repertoire generation
This commit is contained in:
parent
f4a001f821
commit
7b15df7614
|
@ -2,14 +2,12 @@ library(immuneSIM)
|
||||||
library(Biostrings)
|
library(Biostrings)
|
||||||
|
|
||||||
generate_repertoire <- function(number_of_sequences) {
|
generate_repertoire <- function(number_of_sequences) {
|
||||||
b_chain <- immuneSIM(
|
return(immuneSIM(
|
||||||
number_of_seqs = number_of_sequences,
|
number_of_seqs = number_of_sequences,
|
||||||
species = "hs",
|
species = "hs",
|
||||||
receptor = "tr",
|
receptor = "tr",
|
||||||
chain = "b",
|
chain = "b"
|
||||||
verbose = TRUE
|
))
|
||||||
)
|
|
||||||
return(b_chain)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO save also v_call and j_call
|
# TODO save also v_call and j_call
|
||||||
|
|
Loading…
Reference in New Issue