Correlation plots- How to split data by a grouping variable
I need help with plotting correlations.Attached below is the dummy data set.Plot needs to have data for samples on X and Y axis based on TypeCorrelations at Gene level by sample, meaning take an average of reads by gene per sample and plot correlations of the averageCorrelations at read level by sampleThank you.