sub_split_vector | R Documentation |
Sub-split a split vector (Internal)
sub_split_vector(icolsplit, max_size = 4, ...)
icolsplit |
|
max_size |
|
... |
additional arguments are ignored |
This function is used to support contrasts_to_venn_setlists()
in order to limit the number of Venn sets included by subgroup.
This function adds another level of splitting, while keeping
the elements in the original order after splitting.
factor
vector suitable to use for splitting a vector
into subsets, in order.
Other jamses utilities:
choose_annotation_colnames()
,
contrast2comp_dev()
,
fold_to_log2fold()
,
intercalate()
,
list2im_opt()
,
log2fold_to_fold()
,
make_block_arrow_polygon()
,
mark_stat_hits()
,
matrix_normalize()
,
point_handedness()
,
point_slope_intercept()
,
shortest_unique_abbreviation()
,
shrinkDataFrame()
,
shrink_df()
,
shrink_matrix()
,
sort_samples()
,
strsplitOrdered()
,
update_function_params()
,
update_list_elements()
icolsplit <- rep(c(1, 2, 3), c(6, 5, 4))
newsplit <- sub_split_vector(icolsplit)
split(icolsplit, newsplit)
newsplit3 <- sub_split_vector(icolsplit, max_size=3)
split(icolsplit, newsplit3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.