View source: R/SingleCellConnectome.R
SingleCellConnectome | R Documentation |
Takes a Seurat object and creates a single-cell connectome (rows are ligand-receptor mechanisms and columns are cell-cell vectors)
SingleCellConnectome( object, LR.database = "fantom5", species = NULL, include.putative = T, include.rejected = F, max.cells.per.ident = NULL, min.cells.per.ident = NULL, slot.use = "data", weight.definition = "product", custom.list = NULL, ... )
object |
A Seurat object |
LR.database |
Accepts either 'fantom5' or 'custom'. If custom, a dataframe must be provided to argument custom.list with the first column equal to ligands, second column equal to associated receptors, and third column equal to desired modal categorizations. |
species |
The species of the object that is being processed. Only required if LR.database = 'fantom5', and allows 'human','mouse','rat', or 'pig' |
include.putative |
Default TRUE. Includes ligand-receptor pairs deemed putative in FANTOM5 database. |
include.rejected |
Default FALSE. If TRUE, includes gene pairs labeled "EXCLUDED" in FANTOM5 database. See ncomms8866 .rda file for qualifications for exclusion. |
max.cells.per.ident |
Default NULL. If a value is input, input object will be downsampled to requested number of cells per identity. This can greatly improve run-time. |
min.cells.per.ident |
Default NULL. If a value is input, only cell populations meeting this threshold will be included in network analysis. Can limit high-variation effects from small clusters. |
custom.list |
Optional. A dataframe for custom mapping, with the first column equal to ligands, second column equal to associated receptors, and third column equal to desired modal categorizations. If modal categorizations are unknown, fill with 'UNCAT' or similar placeholder. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.