R/plot_adt_density_with_peak_valley_each.R
plot_adt_density_with_peak_valley_each.Rd
This function plots the ADT expression density profile with identified peak and valley locations for only one ADT marker. Each track is a sample. Color by batch
plot_adt_density_with_peak_valley_each(
adt_count,
cell_x_feature,
peak_landmark_list,
valley_landmark_list,
brewer_palettes = "Set1",
parameter_list = NULL
)
Matrix of ADT raw counts in cells (rows) by one target ADT marker (column) format.
Matrix of cells (rows) by cell features (columns) such as cell type, sample, and batch-related information.
Matrix of peak landmark locations with rows being samples and columns being the peaks.
Matrix of valley landmark locations with rows being samples and columns being the valleys.
Set the color scheme of the color brewer.
Users can specify: "run_label" to give a name for this run; "bw" to adjust the bandwidth of the density plot.
if (FALSE) {
plot_adt_density_with_peak_valley_each(
cell_x_adt,
cell_x_feature,
peak_landmark_list = peak_mode_norm_res,
valley_landmark_list = valley_location_norm_res,
brewer_palettes = "Set1",
parameter_list = list(bw = 0.1, run_label = "ADTnorm")
)
}