Entering edit mode
georgina.fqw
▴
10
@georginafqw-23788
Last seen 3.8 years ago
HI,
I got a SummarizedExperiment file and would like to extract gene expression for further analysis. However, there is no name for the assay, how I can change the name or subset data. Thank you
data
class: SummarizedExperiment
dim: 15093 100
metadata(0):
assays(1): ''
rownames(15093): ENSG00000000003 ENSG00000000419 ... ENSG00000273488 ENSG00000273489
rowData names(3): Ensembl_ID GeneID EntrezID
colnames(100): 1 2 3 ... 99 100
colData names(14): number age ... status
assayNames(data)
NULL
assay(data, " ")[1:3,1:3]
'assay(<SummarizedExperiment>, i="character", ...)' invalid subscript 'i'
'''' not in names(assays(<SummarizedExperiment>))
If I want to subset data@assays[[1]]
Error in data@assays[[1]] : this S4 class is not subsettable
Hi James,
Yes, that helped. Thank you very much.
I did change the name
and changed the subsetting slightly and it worked.
Thanks again.