View source: R/chunk_windows.R
chunk_windows | R Documentation |
Divide a list of SNP windows into a chunk for each thread
chunk_windows(pre_allocated_SNP_windows, n_thread)
pre_allocated_SNP_windows |
Output from |
n_thread |
An integer indicating the number of threads to be used for multithreading |
a list of lists of lists, in which the list of lists passed by the 'pre_allocated_SNP_windows' argument is divided into a number of lists indicated by the 'n_threads' argument
data("small_pre_allocated_windows")
pre_allocated_SNP_windows <- chunk_windows(
pre_allocated_SNP_windows = small_pre_allocated_windows,
n_thread = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.