摘要:
# 筛选第1,2,3列 df[,c(1:2,3)] 1、查询某一行或某一列 可通过 data.frame[行号,] 或者 data.frame[,列号] 操作完成 其中 data.frame[行号,] 得到的类型是数据框 而 data.frame[,列号] 得到的类型是该列的类型 # 查询某一行或某 阅读全文
posted @ 2021-06-12 21:16
emanlee
阅读(2878)
评论(0)
推荐(1)
摘要:
统计每行的yes的个数 isA=c("yes","no","yes",NA)isB=c("no","yes","no",NA)df <- data.frame(isA,isB)df isA isB1 yes no2 no yes3 yes no4 <NA> <NA> df$ans<-apply(df 阅读全文
posted @ 2021-06-12 16:31
emanlee
阅读(4492)
评论(0)
推荐(0)
摘要:
参考基因组版本命名参考基因组联盟(Genome Reference Consortium),它是由 NCBI,EBI,桑格研究所等机构组成。GRC 利用最佳的技术装配,纠正,增加基因组序列,以此作为在生信分析领域作为参考的基因组。人基因组官名叫 GRCh38 (Genome Reference Co 阅读全文
posted @ 2021-06-12 12:52
emanlee
阅读(1837)
评论(0)
推荐(0)
摘要:
colSums(is.na(df2))rowSums(is.na(df2))sum(is.na(x)) 阅读全文
posted @ 2021-06-12 10:35
emanlee
阅读(2870)
评论(0)
推荐(0)
摘要:
统计xx内TRUE 的数量 sum(xx)注意,若xx内有NA, 使用sum会返回NA。所以最好使用:sum(xx, na.rm = T) 阅读全文
posted @ 2021-06-12 10:31
emanlee
阅读(1790)
评论(0)
推荐(0)
摘要:
官网:http://subread.sourceforge.net/ Subread package: high-performance read alignment, quantification and mutation discovery The Subread package compris 阅读全文
posted @ 2021-06-12 07:49
emanlee
阅读(7033)
评论(0)
推荐(0)

浙公网安备 33010602011771号