How to use immune_bar_plot.r in R language
This article mainly introduces the R language immune_bar_plot.r how to use the relevant knowledge, the content is detailed and easy to understand, the operation is simple and fast, has a certain reference value, I believe you will gain something after reading this article on how to use immune_bar_plot.r in R language, let's take a look at it.
Bar plotting of immune_bar_plot.r immune infiltration assay
How to use it:
$Rscript immune_bar_plot.r-husage: 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 plotoptional 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 xaxis 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]
Parameter description:
Examples of use:
# draw immune invasion bar chart Rscript $scriptdir/immune_bar_plot.r-I immu/cibersort.res.tsv-n cibersort.bar\-o immu-- ylab fraction-- no.xaxis# sort by group 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 on "immune_bar_ of R language" This is the end of the article "how to use plot.r" Thank you for reading! I believe you all have a certain understanding of the knowledge of "how to use immune_bar_plot.r in R language". If you want to learn more, you are welcome to follow the industry information channel.