Description Usage Arguments Value
Sample a certain number of cells from a DGE data.frame and apply a specific function to the subset.
1 | sample_cells_apply(dge, sizes, groups, fun, funArgs, replace = TRUE)
|
dge |
A data.frame containing DGE data, with rows being genes and columns cells. The first column is assumed to provide the gene identifiers. |
sizes |
Number of cells that should be sampled from each group. |
groups |
A factor of length |
fun |
Function to apply to sampled cells. |
funArgs |
A list with additional arguments for the applied function
|
replace |
Should samples be drawn with replacement? |
Output of function fun
applied to sampled cells.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.