merge_cells | R Documentation |
merge cells to get summary values of median values or anything you want
merge_cells(
dataObj,
group,
mergeNcells = 10,
gID = NULL,
by = c("median", "mean", "sd", "sum", "var"),
copy = TRUE
)
dataObj |
the BioData object |
group |
the original grouping you want to merge on |
mergeNcells |
merge mergeNcells into one summary cell (default =10) |
gID |
merge only cells in a spicific ID list of this group; Say the group as entries 'A', 'B', and 'C', but you only want to merge cells on groupID 'A' and 'B' you need to specifiy ('A', 'B') here (default =NULL) |
by |
by collapsing method c('median','mean','sd','sum', or own function ) |
copy |
create a copy of the R6 object instead of changing the real thing (default=TRUE) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.