R/mc2d_plot.r
mcell_mc2d_plot_gene.Rd
Plot the (log2) metacell footprint value of the selected gene on the 2d projection
mcell_mc2d_plot_gene(
mc2d_id,
gene,
show_mc_ids = F,
show_legend = T,
neto_points = F,
max_lfp = NA,
min_lfp = NA,
color_cells = F,
mat_ds = NULL,
zero_sc_v = 0,
one_sc_v = 1,
two_sc_v = 2,
base_dir = NULL,
filt_mc = NULL
)
mc2d object to use for plot
gene name to plot
plot metacell ids (false by default)
plot color bar legend (true by default)
do not plot box, title and legend
(F default) should cells be colored by UMIs
downsampled matrix for coloring cells
num of umis to consdier as 0 for cell coloring (def 0)
num of umis to consdier as 1 for cell coloring (def 1)
override the default base directory if not null
(defulat is NULL) - factor to determine which metacells to plot
num of umis to consdier as 1 for cell coloring (def 2)