如何刪除滿足以下情況的列表中的所有元素?刪除列表中的空(NA)元素
miRNA_annotation$EGOT[1]
[1] NA
miRNA_annotation$ELTD1[1]
[1] NA
謝謝很多
最佳
dput(miRNA_annotation)
structure(list(AATF = NA_character_, NKIRAS2 = <S4 object of class structure("targetscanTarget", package = "targetscan.Hs.eg.db")>,
DDX52 = <S4 object of class structure("targetscanTarget", package = "targetscan.Hs.eg.db")>,.....,) Names = c("AATF",...., "ELTD1", "EGOT"))