美文网首页
报错 subscript out of bounds

报错 subscript out of bounds

作者: oceanandshore | 来源:发表于2023-08-09 15:36 被阅读0次
    > sel_regulonActivity_byCellType_Scaled <- regulonActivity_byCellType_Scaled[selTF,]
    Error in regulonActivity_byCellType_Scaled[selTF, ] : 
      subscript out of bounds
    

    解决办法参考:https://blog.csdn.net/weixin_54434521/article/details/122850791

    > class(regulonActivity_byCellType_Scaled)
    [1] "matrix" "array" 
    > regulonActivity_byCellType_Scaled = as.data.frame(regulonActivity_byCellType_Scaled)
    

    查看数据类型 然后转成数据框

    相关文章

      网友评论

          本文标题:报错 subscript out of bounds

          本文链接:https://www.haomeiwen.com/subject/ocxapdtx.html