R语言的immune_bar_plot.r如何使用

发布时间:2022-03-21 09:43:59 作者:iii
来源:亿速云 阅读:269

这篇文章主要介绍了R语言的immune_bar_plot.r如何使用的相关知识,内容详细易懂,操作简单快捷,具有一定借鉴价值,相信大家阅读完这篇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]

参数说明:

使用举例:

#绘制免疫侵润柱状图
Rscript $scriptdir/immune_bar_plot.r -i immu/cibersort.res.tsv -n cibersort.bar \
-o immu --ylab fraction  --no.xaxis
#按照分组进行排序
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

关于“R语言的immune_bar_plot.r如何使用”这篇文章的内容就介绍到这里,感谢各位的阅读!相信大家对“R语言的immune_bar_plot.r如何使用”知识都有一定的了解,大家如果还想学习更多知识,欢迎关注亿速云行业资讯频道。

推荐阅读:
  1. R语言的Dataframe怎么使用
  2. 使用R语言怎么删除指定的数据

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

r语言

上一篇:R语言的geo_gene_exp_download.r GEO怎么使用

下一篇:R语言的ssGSEA.r怎么使用

相关阅读

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

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