Typical gene expression data stored in a tabular format, where rows are genes/features and columns are conditions/samples. Except first column, which belongs to feature name, value in each cell correspond to expression magnitude of a respective feature. Most gene expression data are produced in multiple replicate sets. Pairwise scatter plot is commonly used approach to check the quality of replicates. Given the gene expression data as mentioned above along with sample groups, this function helps users to generate input data for pairwise scatter plot.
get_pairwise_scatter_data(dat_tbl, group_tbl, var_plot, var_plot_group, dat_id)
dat_tbl | a tbl for which pairwise scatter plot to be generated. Rows congaing NA will be removed. |
---|---|
group_tbl | a tbl containing sample groups. Refer details for more information on groups. |
var_plot | a variable name to be plotted. |
var_plot_group | a variable name to be used to group the variable |
dat_id | a variable name from tbl |
a tbl, which can be used to generate pairwise scatter plot.
// TO DO