使用SummarizedExperiment包的assay提取miRNA数据的表达矩阵时报错是什么原因?

query <- GDCquery(project = "TCGA-BRCA",

                  data.category = "Transcriptome Profiling",

                  data.type = "miRNA Expression Quantification", 

                  workflow.type = "BCGSC miRNA Profiling"

barcode = TNBC_barcode)

GDCdownload(query,method='api',files.per.chunk = 50)

BRC_DATA1 <- GDCprepare(query)####一般到GDCprepare就齐活了

library(SummarizedExperiment)

BRC_TNBC =assay(BRC_DATA1)


报错:Error in (function (classes, fdef, mtable)  : 

  unable to find an inherited method for function ‘assay’ for signature ‘"data.frame", "missing"’

attachments-2022-01-LzULd0EN61ea7e4dab884.jpg


请先 登录 后评论

1 个回答

omicsgene - 生物信息
擅长:重测序,遗传进化,转录组,GWAS

检查看看前面的几步代码是否运行成功

请先 登录 后评论
  • 1 关注
  • 0 收藏,1254 浏览
  • 1114362987@qq.com 提出于 2022-01-21 17:37

相似问题