Question: Problem with newSCESet(countData=all.counts) function
0
gravatar for bk11
29 days ago by
bk1130
bk1130 wrote:

Hi, I m running through this for single cell RNAseq data analysis. And I got this error after running a few codes. If some one could figure out that what might have I done wrong, I will appreciate. Thanks

library(R.utils)
gunzip("GSE61533_HTSEQ_count_results.xls.gz", remove=FALSE, overwrite=TRUE)
library(gdata)
all.counts <- read.xls(’GSE61533_HTSEQ_count_results.xls’, sheet=1, header=TRUE, row.names=1)
library(scater)

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install("SingleCellExperiment", version = "3.8")

library(SingleCellExperiment)
sce <- newSCESet(countData=all.counts)

Error in newSCESet(countData = all.counts) : 
  could not find function "newSCESet"
ADD COMMENTlink modified 27 days ago by Santosh Anand4.6k • written 29 days ago by bk1130

Very strange! Check again in a fresh R-session, especially double check that scater library is loaded

library(scater)

ADD REPLYlink modified 29 days ago • written 29 days ago by Santosh Anand4.6k

Thank you Santosh. library(scater) was loaded and still could not find function "newSECSet"

ADD REPLYlink written 28 days ago by bk1130
0
gravatar for Santosh Anand
27 days ago by
Santosh Anand4.6k
Santosh Anand4.6k wrote:

Scater has switched to SingleCellExperiment object and SCESet has been removed from new scater releases.

https://support.bioconductor.org/p/101956/

See the latest doc on how SingleCellExperiment works

https://bioconductor.org/packages/release/bioc/vignettes/scater/inst/doc/vignette-intro.html

See also the workflow for single cell analysis

http://master.bioconductor.org/packages/release/workflows/html/simpleSingleCell.html

ADD COMMENTlink modified 27 days ago • written 27 days ago by Santosh Anand4.6k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1442 users visited in the last hour