-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbarplot_cluster.Rd
52 lines (40 loc) · 1.22 KB
/
barplot_cluster.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/barplot_cluster.R
\name{barplot_cluster}
\alias{barplot_cluster}
\title{Barplot of cluster enrichment in a categorical feature}
\usage{
barplot_cluster(
scMuffinList = NULL,
feature_name = NULL,
feature_id = NULL,
partition_id = NULL,
dir_out = "./",
only_pos_nes = TRUE,
cex.axis = 0.8,
p.type = c("p", "p_adj"),
width = 180,
height = 180,
units = "mm",
res = 300,
legend.pos = "right"
)
}
\arguments{
\item{scMuffinList}{scMuffinList object}
\item{feature_name}{name of the features to be used.}
\item{feature_id}{identifier of the feature to be used.}
\item{partition_id}{one among the partitions}
\item{dir_out}{string, output directory}
\item{only_pos_nes}{whether to consider only positive enrichments}
\item{cex.axis}{cex.axis}
\item{p.type}{p for nominal p-value or p_adj for BH FDR.}
\item{width}{image width}
\item{height}{image height}
\item{units}{image units}
\item{res}{image resolution}
\item{legend.pos}{position of barplot legend}
}
\description{
Produce barplots (1 for each cluster) of distribution of cells associated with the values of the selected feature. A png figure for each cluster is saved in dir_out.
}