> 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)
查看数据类型 然后转成数据框
网友评论