Create a scatterplot given two dimensions from a data dimensionality reduction tool (e.g tSNE)
plotDrGrid(dim1, dim2, matrix, size, xlab, ylab, color_low, color_mid,
color_high, var_label)
Numeric vector; first dimension from data dimensionality reduction output.
Numeric vector; second dimension from data dimensionality reduction output.
Matrix, will contain cells/samples as columns and variable of interest as rows.
Numeic vector; size of point on plot.
Character vector, used as label for x axis.
Character vector, used as label for y axis.
Character vector of R colors available from the colors() function. The color will be used to signify the lowest values on the scale.
Character vector of R colors available from the colors() function. The color will be used to signify the midpoint on the scale.
Character vector of R colors available from the colors() function. The color will be used to signify the highest values on the scale.
Character vector, used as label for the scale.