scater error: invalid rownames length
1
0
Entering edit mode
@lileijie1992-19946
Last seen 5.2 years ago

I run the example code and got the report error. What's the problem, wish for your answer. Thanks! Version:R 3.5.0

code:

library(scater)
data("sc_example_counts")
data("sc_example_cell_info")
example_sce <- SingleCellExperiment(assays = list(counts = sc_example_counts), colData = sc_example_cell_info)

and I got:

Error in rownames<-(*tmp*, value = c("Gene0001", "Gene0002", "Gene_0003", : invalid rownames length

scater • 1.4k views
ADD COMMENT
2
Entering edit mode
Aaron Lun ★ 28k
@alun
Last seen 17 hours ago
The city by the bay

It works for me. You haven't posted your sessionInfo(), but I'd suggest you:

  • Check that you are BiocManager::valid(), and fix any problems otherwise; or
  • Forcibly reinstall the relevant packages, as suggested here.
ADD COMMENT
0
Entering edit mode

Thanks for your fast answer. I re-installed those packages. It works!

ADD REPLY

Login before adding your answer.

Traffic: 602 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