Define immune and CAF signatures

immune_cafs_signature_from_clust(
  em_clust,
  scale_feats = TRUE,
  caf_gene = "CAV1",
  immune_gene = "CD3D"
)

Arguments

em_clust

output of cluster_em_cross_cor

scale_feats

scale features (recommended)

caf_gene

name of gene that is inside the CAF cluster (default: "CAV1")

immune_gene

name of gene that is inside the immune cluster (default: "CD3D")

Value

matrix with 'CAF' and 'immune' score for each sample