# DoMultiBarHeatmap
Create multibar annotated heatmap for Seurat object
Adapted from Seurat and work by Arjun Arkal Rao written in a [github discussion](https://github.com/satijalab/seurat/issues/2201).
## Installation
Requires R packages:
* ggplot
* rlang
* Seurat
* magrittr
### Install with devtools
```
devtools::install_github("elliefewings/DoMultiBarHeatmap")
```
### Or download and install from parent directory
```
devtools::install("DoMultiBarHeatmap")
#Load library
library(DoMultiBarHeatmap)
```
## Usage
```
data("pbmc_small"
DoMultiBarHeatmap(object = pbmc_small, group.by="cluster", additional.group.by="cell_type")
```
### Arguments
| Argument | Definition |
| ------------- |:-------------|
| **object** | Seurat object |
| **features** | A vector of features to plot, defaults to VariableFeatures(object = object) |
| **cells** | A vector of cells to plot |
| **group.by** | A vector of variables to group cells by; defaults to cell identity classes |
| **additional.group.by** | A second vector of variables to group cells by |
| **group.bar** | Add a color bar showing group status for cells (boolean) |
| **group.colors** | Colors to use for the color bar |
| **disp.min** | Minimum display value (all values below are clipped) |
| **disp.max** | Maximum display value (all values above are clipped); defaults to 2.5 if slot is 'scale.data', 6 otherwise |
| **slot** | Data slot to use, choose from 'raw.data', 'data', or 'scale.data' |
| **assay** | Assay to pull from |
| **label** | Label the cell identies above the color bar |
| **size** | Size of text above color bar |
| **hjust** | Horizontal justification of text above color bar |
| **angle** | Angle of text above color bar |
| **raster** | If true, plot with geom_raster, else use geom_tile. geom_raster may look blurry on some viewing applications such as Preview due to how the raster is interpolated. Set this to FALSE if you are encountering that issue (note that plots may take longer to produce/render). |
| **draw.lines** | Include white lines to separate the groups |
| **lines.width** | Integer number to adjust the width of the separating white lines. Corresponds to the number of "cells" between each group. |
| **group.bar.height** | Scale the height of the color bar |
| **combine** | Combine plots into a single patchworked ggplot object. If FALSE, return a list of ggplot objects |
没有合适的资源?快使用搜索试试~ 我知道了~
DoMultiBarHeatmap:为Seurat对象创建多栏注释的热图

共11个文件
md:1个
namespace:1个
rbuildignore:1个

需积分: 50 5 下载量 194 浏览量
2021-04-23
11:03:19
上传
评论 1
收藏 12KB ZIP 举报
温馨提示
DoMultiBarHeatmap 为Seurat对象创建多栏注释的热图 改编自Seurat,由Arjun Arkal Rao在撰写的工作改编而成。 安装 需要R包: ggplot 朗朗 苏拉特 磁珠 使用devtools安装 devtools::install_github("elliefewings/DoMultiBarHeatmap") 或从父目录下载并安装 devtools::install("DoMultiBarHeatmap") #Load library library(DoMultiBarHeatmap) 用法 data("pbmc_small" DoMultiBarHeatmap(object = pbmc_small, group.by="cluster", additional.group.by="cell_type") 争论 争论 定义 目的 修罗对象 特征
资源详情
资源评论
资源推荐
收起资源包目录




















共 11 条
- 1




























KINSLAUGHTER
- 粉丝: 37
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 三位厦门大学的学生面对小学期的python大作业他们将用什么样的作品水水而过
- QT6 画家 QPainter 的源代码带注释 1300 行 本类奠定了 QT 的绘图基础
- 基于 MySQL 与 Python 的选课大作业及校招填表辅助系统
- 网站建设方案(人才网).doc
- 新建文件夹福建省莆田市基于云计算的电子政务公共平台顶层设计【阶段成果】v1.5.doc
- 行业网站建设方案.doc
- 基于JSP的酒店客房管理系统.doc
- 武汉大学分析化学课件-第26章-分析仪器测量电路、信号处理及计算机应用基础.ppt
- 基于网络环境的集体备课研究课题研究报告.docx
- 网络营销SEO精简版.pptx
- 软件委托开发流程及相关规范(211215095509).pdf
- 数控铣床加工中心编程实例PPT培训课件.ppt
- 计算机网络基础(继续教育试题及答案).docx
- 网络会计对传统会计的影响及发展【会计实务操作教程】.pptx
- 行政事业单位会计信息化建设路径.doc
- 网络营销内涵.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制

评论0