Skip to content

How do I create the extdata/sig_matrix.txt equivalent of my own data? #470

Answered by sayadennis
sayadennis asked this question in Q&A
Discussion options

You must be logged in to vote

I think I figured this out with help from someone else, so leaving a record here for future reference. The instructions are from here: https://github.com/rdong08/spatialDWLS_dataset/blob/main/codes/Heart_ST_tutorial_spatialDWLS.Rmd

scran_markers_subclusters = findMarkers_one_vs_all(gobject = visium_brain,
                                                   method = 'scran',
                                                   expression_values = 'normalized',
                                                   cluster_column = 'leiden_clus')
Sig_scran <- unique(scran_markers_subclusters$genes[which(scran_markers_subclusters$ranking <= 100)])

norm_exp <- 2^(visium_brain@norm_expr)-1
id <- vis…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sayadennis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant