Question: Problem with newSCESet(countData=all.counts) function
0
gravatar for bk11
7 months 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 7 months ago by Santosh Anand4.9k • written 7 months 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 7 months ago • written 7 months ago by Santosh Anand4.9k

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

ADD REPLYlink written 7 months ago by bk1130
0
gravatar for Santosh Anand
7 months ago by
Santosh Anand4.9k
Santosh Anand4.9k 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 7 months ago • written 7 months ago by Santosh Anand4.9k
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: 615 users visited in the last hour