Skip to content
Snippets Groups Projects
Commit 2a01e28d authored by Jefferson Chen's avatar Jefferson Chen
Browse files

did more graphs

parent 2f08e0a9
No related merge requests found
......@@ -134,8 +134,8 @@ dev.off()
nums = as.matrix(mapped_matrx)
sc = sc_generated
sc <- sc[overlapped_marker, ]
st <- st[overlapped_marker, ]
sc <- sc[common_genes, ]
st <- st[common_genes, ]
preexp = sc %*% nums
cossimr = matrix(nrow=428)
......@@ -144,7 +144,7 @@ for(i in 1:428){
}
pdf("./results/cossim_scGPT.pdf", width = 5.0, height = 4.0)
pdf("./results/cossim_scGPT_common_genes.pdf", width = 5.0, height = 4.0)
ggplot()+
geom_point(aes(x=coords$x,y=coords$y,color=cossimr,size=1))+
scale_color_gradient(limits=c(0,1),low="#F5F5F5",high="blue")+
......
File added
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment