溫馨提示×

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

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

sankey_plot.r如何繪制?;鶊D

發(fā)布時(shí)間:2022-03-16 10:03:03 來(lái)源:億速云 閱讀:231 作者:小新 欄目:開(kāi)發(fā)技術(shù)

這篇文章將為大家詳細(xì)講解有關(guān)sankey_plot.r如何繪制?;鶊D,小編覺(jué)得挺實(shí)用的,因此分享給大家做個(gè)參考,希望大家閱讀完這篇文章后可以有所收獲。

繪制桑基圖(沖擊圖)

使用方法:

usage: script/sankey_plot.r [-h] -i input -g group [group ...] -c color
                            [-o outdir] [-p prefix] [-H height] [-W width]

Sankey plot drawing

optional arguments:
  -h, --help            show this help message and exit
  -i input, --input input
                        input the matrix [required]
  -g group [group ...], --group group [group ...]
                        input column names of three groups [required]
  -c color, --color color
                        column to fill color [required]
  -o outdir, --outdir outdir
                        output file directory [default cwd]
  -p prefix, --prefix prefix
                        out file name prefix [default result]
  -H height, --height height
                        the height of pic inches [default 5]
  -W width, --width width
                        the width of pic inches [default 5]

參數(shù)說(shuō)明:

-i    包含具有對(duì)應(yīng)關(guān)系的數(shù)據(jù)

Immune_Subtype
m6acluster
group
C1C2high
C2C1low

-g    輸入所要繪制?;鶊D的三列數(shù)據(jù)的列名

-c    決定分流所填充顏色的列名

使用舉例:

Rscript script/sankey_plot.r -i /share/nas1/fangs/test/m6A/TCGA-KIRC/06.m6a_score/metadata_group.tsv -g m6acluster Immune_Subtype group -c m6acluster -p demo

關(guān)于“sankey_plot.r如何繪制?;鶊D”這篇文章就分享到這里了,希望以上內(nèi)容可以對(duì)大家有一定的幫助,使各位可以學(xué)到更多知識(shí),如果覺(jué)得文章不錯(cuò),請(qǐng)把它分享出去讓更多的人看到。

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

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

AI