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

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

library(scater)

ADD REPLYlink modified 14 months ago • written 14 months ago by Santosh Anand5.0k

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

ADD REPLYlink written 14 months ago by bk1140
0
gravatar for Santosh Anand
14 months ago by
Santosh Anand5.0k
Santosh Anand5.0k 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 14 months ago • written 14 months ago by Santosh Anand5.0k
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: 1812 users visited in the last hour