Splits vector into chunks of x sizes
Split_Vector(x, chunk_size = 100, verbose = FALSE)
vector to split
size of chunks for vector to be split into, default is 100.
logical, print details of vector and split, default is FALSE.
list with vector of X length
Base code from stackoverflow post: https://stackoverflow.com/a/3321659/15568251
vector <- c("gene1", "gene2", "gene3", "gene4", "gene5", "gene6")
vector_list <- Split_Vector(x = vector, chunk_size = 3)