View source: R/CellChat_class.R
subsetCellChat | R Documentation |
Subset CellChat object using a portion of cells
subsetCellChat(
object,
cells.use = NULL,
idents.use = NULL,
group.by = NULL,
invert = FALSE,
thresh = 0.05
)
object |
A CellChat object (either an object from a single dataset or a merged objects from multiple datasets) |
cells.use |
a char vector giving the cell barcodes to subset. If cells.use = NULL, USER must define 'idents.use' |
idents.use |
a subset of cell groups used for analysis |
group.by |
cell group information; default is 'object@idents'; otherwise it should be one of the column names of the meta slot |
invert |
whether invert the idents.use |
thresh |
threshold of the p-value for determining significant interaction. A parameter as an input of the function 'computeCommunProbPathway' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.