Skip to content

Commit

Permalink
Merge pull request #7 from OpenOmics/resolution_0.1
Browse files Browse the repository at this point in the history
feat: include resolution 0.1 in umaps
  • Loading branch information
chenv3 authored Jan 16, 2025
2 parents ad5baf9 + db7af51 commit 90ce21a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion workflow/scripts/seuratCiteSampleQC.R
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ seur <- RunUMAP(seur, reduction = 'pca', dims = 1:30, assay = 'RNA')

coord <- Embeddings(seur, reduction='pca')[,1:30]
d <- dist(coord, method="euclidean")
for(resolution in c(seq(0.2,1.0,0.2), 1.5, 2.0)){
for(resolution in c(0.1, seq(0.2,1.0,0.2), 1.5, 2.0)){
seur <- FindClusters(seur, resolution = resolution)

#Calculate silhouette scores and generate plots
Expand Down
2 changes: 1 addition & 1 deletion workflow/scripts/seuratSampleQC.R
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ seur <- RunUMAP(seur, reduction = 'pca', dims = 1:30, assay = 'RNA')

coord <- Embeddings(seur, reduction='pca')[,1:30]
d <- dist(coord, method="euclidean")
for(resolution in c(seq(0.2,1.0,0.2), 1.5, 2.0)){
for(resolution in c(0.1, seq(0.2,1.0,0.2), 1.5, 2.0)){
seur <- FindClusters(seur, resolution = resolution)

#Calculate silhouette scores and generate plots
Expand Down

0 comments on commit 90ce21a

Please sign in to comment.