溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

R語言的immune_bar_plot.r如何使用

發(fā)布時間:2022-03-21 09:43:59 來源:億速云 閱讀:253 作者:iii 欄目:開發(fā)技術(shù)

這篇文章主要介紹了R語言的immune_bar_plot.r如何使用的相關(guān)知識,內(nèi)容詳細(xì)易懂,操作簡單快捷,具有一定借鑒價值,相信大家閱讀完這篇R語言的immune_bar_plot.r如何使用文章都會有所收獲,下面我們一起來看看吧。

immune_bar_plot.r 免疫侵潤分析bar繪圖

使用方法:

$ Rscript  immune_bar_plot.r  -h
usage: immune_bar_plot.r [-h] -i filepath [-t title]
                                                  [-a xlab] [-b ylab]
                                                  [-m metadata]
                                                  [-g group [group ...]] [-x]
                                                  [-o outdir] [-n prefix]
                                                  [-H height] [-W width]
immune bar plot
optional arguments:
  -h, --help            show this help message and exit
  -i filepath, --input filepath
                        input the immune martix [required]
  -t title, --title title
                        input legend tittle name [default cell type]
  -a xlab, --xlab xlab  input xlab [default sample]
  -b ylab, --ylab ylab  input ylab [default fraction]
  -m metadata, --metadata metadata
                        input metadata file [default NULL]
  -g group [group ...], --group group [group ...]
                        name of group order [default NULL]
  -x, --no.xaxis        not show x axis sample name [default False]
  -o outdir, --outdir outdir
                        output file directory [default cwd]
  -n prefix, --name prefix
                        out file name prefix [default demo]
  -H height, --height height
                        the height of pic inches [default 7]
  -W width, --width width
                        the width of pic inches [default 12]

參數(shù)說明:

使用舉例:

#繪制免疫侵潤柱狀圖
Rscript $scriptdir/immune_bar_plot.r -i immu/cibersort.res.tsv -n cibersort.bar \
-o immu --ylab fraction  --no.xaxis
#按照分組進(jìn)行排序
Rscript $scriptdir/immune_bar_plot.r -i immu/cibersort.res.tsv -n cibersort.bar.g \
-m metadata.group.tsv -g subtype.hclust -o immu --ylab fraction  --no.xaxis

關(guān)于“R語言的immune_bar_plot.r如何使用”這篇文章的內(nèi)容就介紹到這里,感謝各位的閱讀!相信大家對“R語言的immune_bar_plot.r如何使用”知識都有一定的了解,大家如果還想學(xué)習(xí)更多知識,歡迎關(guān)注億速云行業(yè)資訊頻道。

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI