Open ohmiyajohn2 opened 1 year ago
Could you please correct the error in line 62 of the script 1seurat_processing.R? The object "col.all" was not defined before.
The code for col.all is:
library(RColorBrewer) col.paired=brewer.pal(12, "Paired") col.set1=brewer.pal(9, "Set1") col.set2=brewer.pal(8, "Set2") col.set3=brewer.pal(12, "Set3") col.pastel1=brewer.pal(9, "Pastel1") col.pastel2=brewer.pal(8, "Pastel2") col.dark2=brewer.pal(8, "Dark2") col.accent=brewer.pal(8, "Accent") col.all=unique(c(col.set1,col.set2,col.set3,col.dark2,col.accent,col.paired,col.pastel2,col.pastel1))
From: Zhilin Li @.> Reply-To: nasunmit/scadbbb @.> Date: Sunday, January 7, 2024 at 4:22 AM To: nasunmit/scadbbb @.> Cc: Subscribed @.> Subject: Re: [nasunmit/scadbbb] Missing definition of the object "col" (Issue #4)
Could you please correct the error in line 62 of the script 1seurat_processing.R? The object "col.all" was not defined before.
— Reply to this email directly, view it on GitHubhttps://github.com/nasunmit/scadbbb/issues/4#issuecomment-1880003010, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AR3WIHIW2E3POTLKQXKWUD3YNJSONAVCNFSM6AAAAAA244ZF66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBQGAYDGMBRGA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
In the line 62 of the script 1seurat_processing.R, the object "mycol" is defined, but the object "col.all" has not been defined before. I guess the script will stop due to the error.
Also, the line 18 seems to have a typo. The command should be data=readRDS('ROSMAP.VascularCells.counts_full.rds') instead of data=readRDS('ROSMAP.VascularCells.counts_full,rds').