Commit d80c87ae authored by HaojiaWu's avatar HaojiaWu
Browse files

Update readme

parent 3bc014d3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ export(mk_color_table)
export(mk_marker_ct)
export(order_gene_down)
export(order_gene_up)
export(plot_cell_fraction)
export(plot_circlize)
export(plot_qpcr)
export(prepare_circlize_data)
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ dev.off()
![alt text](https://github.com/HaojiaWu/Plot1cell/blob/master/data/circlize_plot.png) <br />

### 2. Dotplot to show gene expression across groups
Here is an example to use plot1cell to show one gene expression across different cell types breakdown by group.
Here is an example to use plot1cell to show one gene expression across different cell types across groups.
```
png(filename =  'dotplot_single.png', width = 4, height = 6,units = 'in', res = 100)
complex_dotplot_single(seu_obj = iri.integrated, feature = "Havcr1",groupby = "Group")
+34 −0
Original line number Diff line number Diff line
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_cell_fraction.R
\name{plot_cell_fraction}
\alias{plot_cell_fraction}
\title{Plot cell fractions across groups}
\usage{
plot_cell_fraction(
  seu_obj,
  celltypes = NULL,
  groupby,
  show_replicate = FALSE,
  rep_colname = NULL,
  strip.color = NULL
)
}
\arguments{
\item{seu_obj}{A complete Seurat object}

\item{celltypes}{Cell types to be included in the dot plot. Default: all cell types.}

\item{groupby}{The group to show on x axis. One of the column names in meta.data.}

\item{show_replicate}{Whether or not to show the individual replicates from the graph. If TRUE, the replicate column names need to specify.}

\item{rep_colname}{The column name for biological replicates in the meta data.}

\item{strip.color}{Colors for the strip background}
}
\value{
A ggplot object
}
\description{
This function to show the cell fraction changes across groups.
}