sankey_plot.r如何绘制桑基图

发布时间:2022-03-16 10:03:03 作者:小新
来源:亿速云 阅读:222

这篇文章将为大家详细讲解有关sankey_plot.r如何绘制桑基图,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。

绘制桑基图(冲击图)

使用方法:

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]

参数说明:

-i    包含具有对应关系的数据

Immune_Subtype
m6acluster
group
C1C2high
C2C1low

-g    输入所要绘制桑基图的三列数据的列名

-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

关于“sankey_plot.r如何绘制桑基图”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。

推荐阅读:
  1. 如何使用Python绘制漫步图
  2. python如何绘制彩虹图

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

上一篇:家居小程序能不能提高家具行业销售红利

下一篇:微信小程序开发基本知识有哪些

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》