原创 跟着Nature Communications學作圖:R語言ggplot2做堆積柱形圖展示羣體基因組學的結果

論文 Genomic insights into local adaptation and future climate-induced vulnerability of a keystone forest tree in East As

原创 跟着Nature學作圖:R語言ggplot2柱形圖添加誤差線和頻率分佈直方圖

論文 A saturated map of common genetic variants associated with human height https://www.nature.com/articles/s41586-022-

原创 跟着Nature學作圖:R語言ggplot2頻率分佈直方圖和散點圖添加誤差線

論文 A saturated map of common genetic variants associated with human height https://www.nature.com/articles/s41586-022-

原创 跟着Nature Communications學作圖:R語言ggplot2散點組合誤差線展示響應比(Response ratio)

論文 Meta-analysis of the impacts of global change factors on soil microbial diversity and functionality https://www.nat

原创 這個鏈接裏介紹瞭如何用離散變量構建迴歸方程

https://medium.com/@tunaytokmak/linear-regression-with-categorical-variables-3069ed937359

原创 跟着PNAS學作圖:R語言ggplot2作圖展示多序列比對結果

論文 The evidence remains clear: SARS-CoV-2 emerged via the wildlife trade https://www.pnas.org/doi/10.1073/pnas.2214427

原创 R語言ggplot2作圖小技巧:柱形圖如何讓y軸的起始點不是0

答案是在 coord_cartesian(ylim = c(5,10))函數裏設置y座標的範圍 library(ggplot2) dat<-data.frame(x=LETTERS[1:10],y=10) ggplot(data=dat,

原创 R語言ggplot2作圖小技巧:如何給座標軸添加minor breaks

需要用到ggh4x這個R包 library(ggplot2) library(ggh4x) dat<-data.frame(x=1:10,y=1:10) ggplot(data=dat,aes(x=x,y=y))+ geom_poi

原创 R語言文本和線段一起畫geomtextpath包

https://github.com/AllanCameron/geomtextpath 昨天看到的這個圖,紅色框內的不知道是如何實現的,今天看到這個圖的代碼是使用geomtextpath這個R包做的 github主頁是https://g

原创 使用python的streamlit模塊搭建一個簡易的網頁版blast

streamlit的參考資料 https://docs.streamlit.io/library/get-started/create-an-app st.button https://docs.streamlit.io/library/a

原创 python解析blast 的xml格式輸出結果

參考 https://chengcz.github.io/2018/10040.parseXML/

原创 使用rna-seq定量軟件salmon運行index步驟遇到的一個問題(計算集羣slurm)

salmon 幫助文檔 https://salmon.readthedocs.io/en/latest/building.html#installation github主頁 https://github.com/COMBINE-lab/s

原创 跟着Nature Biotechnology學作圖:R語言pca分析並使用ggplot2可視化結果

論文 Removing unwanted variation from large-scale RNA sequencing data with PRPS https://www.nature.com/articles/s41587-0

原创 在線參考書 Computational Genomics with R

https://compgenomr.github.io/book/

原创 r markdown 表格的寫法的簡單小例子

| Tables | Are | Cool | | ------------- |:-------------:| -----:| | col 3 is | right-aligned | $1