How to convert a SingleCellExperiment into an ExpressionSet object?
1
0
Entering edit mode
FB • 0
@fb-20047
Last seen 5.1 years ago

Hello everyone! I am working with the https://github.com/adamjamesreid/Plasmodium-single-cell-RNA-seq files. The first lines of the code are:

molecules <- read.table("PbM_counts.txt", sep = "\t", header = TRUE, row.names=1)

anno <- read.table("PbM_meta.txt", sep = "\t", header=TRUE)

genes <- read.table("berg.desc", header=FALSE, row.names=1, quote = "", sep="\t")

pheno_data <- new("AnnotatedDataFrame", anno)

rownames(pheno_data) <- pheno_data$sample_id

PbM <- SingleCellExperiment(assays = list(counts = as.matrix(molecules)),
                            colData = anno)

PbM$phenoData<- pheno_data

Now I need to deconvolute those data using bseq-sc package (https://shenorrlab.github.io/bseqsc/vignettes/bseq-sc.html). The first problem I have found is when I want to run the plotCellTotals with my data. This last command requires an ExpressionSet object, while my PbM is a SingleCellExperiment object. How can I make it work?

microarray annotation • 1.5k views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 9 hours ago
United States

It makes very little sense to convert a SingleCellExperiment object to an ExpressionSet, because the former is intended for the task at hand, and the latter was originally intended for microarray data.

That said, the package you are asking about isn't a Bioconductor package, and this support site is for the support of Bioconductor packages, so this isn't the place to ask. If you have questions about the package, you should ask the authors, who would presumably know the answers.

ADD COMMENT

Login before adding your answer.

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