Scaling Data error on Seurat
1
1
Entering edit mode
3.5 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 • 624 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
3.5 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: 2346 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