Screen for interactiins and initialize a Matchmaker object.
Screening(
data,
annotation,
interaction,
partner_a = 1,
partner_b = 2,
path = FALSE,
project_name = "",
zero_percent = 0.7
)
Expression data. A d x M matrix with d rows of features and M columns of data points (cells).
Cell type identity in following formats:
character, cell type identity with either names as cell ids (barcodes) or in the same order matching the column names in data.
data.frame, cell ids (barcodes) in row names and cell type identity in first column.
Interaction partner pair data with at least two columns indicating gene-gene interaction partners.
Column name or index for interaction partner a. Defaulte is 1, the first column in interaction pair data.
Column name or index for interaction partner b. Defaulte is 2, the second column in interaction pairs data.
Whether inputs are in directory path format.
Name of the project.
Zero-entry percentage threshold. If the number of zero entries in the returned matrices is above this number, a sparse matrix will be returned. Default is 0.7 aka 70%.
Returns a Matchmaker object.
if (FALSE) {
object <- Screening(data = data.use, annotation = idents.use, interaction = interaction.data)
}