Scaling Data error on Seurat
1
1
Entering edit mode
6.1 years ago
Bios ▴ 10

Here's my code below. I don't know why scaling the data gives me an error. Any help will be appreciated. Thank you

ctrl.data <- Read10X(data.dir = "/Users/kech/Desktop/stim")

stim.data <- Read10X(data.dir = "/Users/kech/Desktop/stim")

ctrl.data <- Read10X(data.dir = "/Users/kech/Desktop/ctrl")

stim.data <- Read10X(data.dir = "/Users/kech/Desktop/stim")

ctrl <- CreateSeuratObject(raw.data = ctrl.data, project = "ASTHMA_CTRL", min.cells = 5)

ctrl@meta.data$stim <- "CTRL"

ctrl <- FilterCells(ctrl, subset.names = "nGene", low.thresholds = 500, high.thresholds = Inf)

ctrl <- NormalizeData(ctrl)

ctrl <- ScaleData(ctrl, display.progress = F)

Error in if (display.progress) { : argument is not interpretable as logical In addition: Warning message: In if (display.progress) { :the condition has length > 1 and only the first element will be used

R RNA-Seq • 1.2k views
ADD COMMENT
0
Entering edit mode

Please use the format bar to indicate code.

enter image description here

ADD REPLY
3
Entering edit mode
6.1 years ago
vinvan ▴ 50

Does setting display.progress = FALSE instead of display.progress = F help? Looks like you might have defined F already before this...

ADD COMMENT
0
Entering edit mode

Thank you! It worked with display.progress = FALSE

ADD REPLY
0
Entering edit mode

Hello Biostars,

Don't forget to follow up on your threads.

If an answer was helpful, you should upvote it; if the answer resolved your question, you should mark it as accepted. You can accept more than one if they work. Upvote|Bookmark|Accept

Please do the same for your previous posts as well.

ADD REPLY

Login before adding your answer.

Traffic: 2455 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6