merge_cells-methods: description of function merge_cells

Description Usage Arguments

Description

merge cells to get summary values of median values or anything you want

Usage

1
2
3
4
5
6
7
8
merge_cells(
  dataObj,
  group,
  mergeNcells = 10,
  gID = NULL,
  by = c("median", "mean", "sd", "sum", "var"),
  copy = TRUE
)

Arguments

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)


stela2502/BioData documentation built on Feb. 23, 2022, 5:47 a.m.