Gene expression in fetal germ cells
Source:R/fetal_germcells_expression.R
fetal_germcells_expression.Rd
Plots a heatmap of genes expression in fetal germ cells, using scRNAseq data from "Single-cell roadmap of human gonadal development" (Garcia-Alonso, Nature 2022)
Usage
fetal_germcells_expression(
genes = NULL,
include_CTP = FALSE,
ncells_max = 200,
scale_lims = NULL,
values_only = FALSE
)
Arguments
- genes
character
naming the selected genes. The default value,NULL
, takes all CT (specific) genes.- include_CTP
logical(1)
IfTRUE
, CTP genes are included. (FALSE
by default).- ncells_max
integer(1)
Sets the number of each cell type to represent on the heatmap (these cells will be randomly selected among each cell type) (set to 200 by default). IfNULL
, all cells are displayed.- scale_lims
vector of length 2
setting the lower and upper limits of the heatmap colorbar. By default, the lower limit is 0, and the upper limit corresponds to the third quartile of the logcounts values.- values_only
logical(1)
. IfTRUE
, the function will return the SingleCellExperiment instead of the heatmap. Default isFALSE
.