Closed sofiapuvogelvittini closed 1 year ago
Hi, you can pass reference markers as a list instead of same-length dataframe: Example below:
pbmc_input <- split(pbmc_markers$gene, pbmc_markers$cluster)
pbmc_ref <- pos_neg_marker( list(B = c("CD79A", "CD79B", "MS4A1"), NK = c("GZMB", "GNLY")) )
res <- clustify_lists( pbmc_ref, pbmc_input, metric = "jaccard", input_markers = TRUE )
Hello, thanks for developing this package. I am trying to compare my clusters with the clusters of a previously published scRNA seq dataset.
The reference clusters don't have the same number of marker genes, so I am filling with NA values the dataframe that contains all the marker genes per reference cluster. How clustify_lists() treat the NA values? May this affects my results? All the best and thanks for your time, Sof'ia