# #——ShortRead-fastq ----------------------------------------------------- 库(ShortRead) strm = FastqStreamer(“bigdata / SRR1039508_1.fastq.gz”,100000年)fq =产量(strm) fq sread (fq)质量(fq) # #——r-intro ------------------------------------------------------------- x = rnorm (1000) y = x + rnorm(1000年,sd = 5) df = data.frame (x = x,y = y)情节(y ~ x, df)适合= lm (y ~ x, df)类()方法(类=类(适合))方法(“方差分析 ") ## ---- 帮助,eval = FALSE ---------------------------------------------------- ## ? 日志# # ?情节#通用的‘阴谋’# # ?阴谋。lm #情节的对象类的lm # #——S4 ------------------------------------------------------------------ 库(ShortRead) strm = FastqStreamer(“bigdata / SRR1039508_1.fastq.gz”,# 'DNAStringSet' S4 class methods(class=class(reads)) gc = letterFrequency(reads, " gc ", as.prob=TRUE) hist(gc) ## ----S4-help,eval = FALSE ------------------------------------------------- ## ? DNAStringSet #类,通常常用方法# # ? letterFrequency #通用# #方法(“letterFrequency”)# # ?”letterFrequency XStringSet-method”