View source: R/subset_list_of_lists.R
subset_list_of_lists | R Documentation |
Subset a list of lists to a list of desired lists only Subset a list of lists down to a list of lists containing only lists with the value at a certain position (with this values indicated in another list)
subset_list_of_lists(list_of_lists, desired_list, subindex = 1)
list_of_lists |
a list of lists, such as a list of lists containing SNP
window position, SNPs and scaffold, as generated by
|
desired_list |
list of desired elements |
subindex |
index of lists within list of lists, which will be checked to see if the list contains the desired element and should be subsetted |
A list in which all of the values indicated by the 'subindex' parameter are matched by the 'desired_list'
subset_list_of_lists(list_of_lists = small_pre_allocated_windows,
desired_list = c(14515000, 14491000),
subindex = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.