Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Strand Lab
sc-TissueMapper
Commits
ad3d6d5f
Commit
ad3d6d5f
authored
Jul 18, 2019
by
Gervaise Henry
🤠
Browse files
Change clustering to use integrated assay
parent
1179ce77
Changes
1
Hide whitespace changes
Inline
Side-by-side
r.scripts/sc-TissueMapper_functions.R
View file @
ad3d6d5f
...
...
@@ -508,6 +508,8 @@ scCluster <- function(sc10x,res=0.1,red="pca",dim,print="tsne",folder=FALSE){
}
DefaultAssay
(
sc10x
)
<-
"integrated"
#Calculste Vis
sc10x
<-
RunTSNE
(
sc10x
,
dims
=
1
:
dim
,
reduction
=
"pca"
,
assay
=
"integrated"
)
sc10x
<-
RunUMAP
(
sc10x
,
dims
=
1
:
dim
,
reduction
=
"pca"
,
assay
=
"integrated"
)
...
...
@@ -571,6 +573,8 @@ scCluster <- function(sc10x,res=0.1,red="pca",dim,print="tsne",folder=FALSE){
grid.arrange
(
plot1
,
plot2
,
plot3
,
legend
,
ncol
=
1
)
dev.off
()
}
DefaultAssay
(
sc10x
)
<-
"SCT"
return
(
sc10x
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment