|
a |
|
b/man/VscAIplot.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/scAI_plotting.R |
|
|
3 |
\name{VscAIplot} |
|
|
4 |
\alias{VscAIplot} |
|
|
5 |
\title{VscAI visualize the genes, loci and factors that separate cell states on two dimensions alongside the cells} |
|
|
6 |
\usage{ |
|
|
7 |
VscAIplot(object, gene.use, loci.use, loci.use.names, color.by, |
|
|
8 |
labels.order = NULL, colors.use = NULL, brewer.use = FALSE, |
|
|
9 |
xlabel = "VscAI1", ylabel = "VscAI2", title = NULL, |
|
|
10 |
label.size = 3, cell.size = 0.3, font.size = 10, do.label = T, |
|
|
11 |
show.legend = T, show.axes = T) |
|
|
12 |
} |
|
|
13 |
\arguments{ |
|
|
14 |
\item{object}{scAI object} |
|
|
15 |
|
|
|
16 |
\item{gene.use}{embedded genes} |
|
|
17 |
|
|
|
18 |
\item{loci.use}{embedded loci} |
|
|
19 |
|
|
|
20 |
\item{loci.use.names}{alternative names of embedded loci, e.g, the corresponding motif} |
|
|
21 |
|
|
|
22 |
\item{color.by}{the name of the variable in pData, defining cell groups, cells are colored based on the labels} |
|
|
23 |
|
|
|
24 |
\item{labels.order}{defining the factor level} |
|
|
25 |
|
|
|
26 |
\item{colors.use}{defining the color for each cell group} |
|
|
27 |
|
|
|
28 |
\item{brewer.use}{use RColorBrewer palette instead of default ggplot2 color} |
|
|
29 |
|
|
|
30 |
\item{xlabel}{label of x-axis} |
|
|
31 |
|
|
|
32 |
\item{ylabel}{label of y-axis} |
|
|
33 |
|
|
|
34 |
\item{title}{main title of the plot} |
|
|
35 |
|
|
|
36 |
\item{label.size}{font size of the legend} |
|
|
37 |
|
|
|
38 |
\item{cell.size}{size of the dots} |
|
|
39 |
|
|
|
40 |
\item{font.size}{size of font} |
|
|
41 |
|
|
|
42 |
\item{do.label}{label the cluster in 2D space} |
|
|
43 |
|
|
|
44 |
\item{show.legend}{whether show the legend} |
|
|
45 |
|
|
|
46 |
\item{show.axes}{whether show the axes} |
|
|
47 |
} |
|
|
48 |
\value{ |
|
|
49 |
ggplot2 object with 2D plot |
|
|
50 |
} |
|
|
51 |
\description{ |
|
|
52 |
VscAI visualize the genes, loci and factors that separate cell states on two dimensions alongside the cells |
|
|
53 |
} |