createMetagenes
¶
Create metagenes
Description¶
This function creates an average metagene for gene clusters.
Usage¶
createMetagenes(
gobject,
spat_unit = NULL,
expression_values = c("normalized", "scaled", "custom"),
gene_clusters,
name = "metagene",
return_gobject = TRUE
)
Arguments¶
Argument |
Description |
---|---|
|
Giotto object |
|
spatial unit |
|
expression values to use |
|
numerical vector with genes as names |
|
name of the metagene results |
|
return giotto object |
Details¶
- An example for the ‘gene_clusters’ could be like this:
cluster_vector = c(1, 1, 2, 2); names(cluster_vector) = c(‘geneA’, ‘geneB’, ‘geneC’, ‘geneD’)
Value¶
giotto object