
Build a SpatialDWLS Signature
build_model_spatial_dwls.RdConstructs a DWLS signature matrix from single-cell data using Giotto and a
marker-selection strategy: either compute markers with a supported method
(scran, gini, mast) or pass a custom vector of marker genes directly.
Usage
build_model_spatial_dwls(
single_cell_obj,
assay_sc = "counts",
marker_method = "scran",
topNgenes = 100,
cell_type_col = "cell_ontology_class",
dim_method = "pca",
cluster_method = "leiden",
...
)Arguments
- single_cell_obj
SingleCellExperimentwith cell type annotations.- assay_sc
Single-cell assay to use.
- marker_method
Marker genes or method to compute markers (
scran,gini, ormast).- topNgenes
Number of top-ranked marker genes per cluster.
- cell_type_col
Column containing cell type labels.
- dim_method
Dimension reduction method for Giotto workflow:
pca,tsne, orumap.- cluster_method
Clustering method for Giotto workflow:
leiden,louvain,kmeans, orhclust.- ...
Additional parameters passed to Giotto helpers.