findComps {M3D} | R Documentation |
Returns the columns of the test-statistic matrix that refer to specific samples. This is not intended to be called directly by the user.
findComps(MMD, samples)
MMD |
A matrix containing the M3D test-statistic, the difference the full and methylation blind metrics, for each region in the CpGs object. Each column is a comparison between two samples, which are described in the column names. |
samples |
A vector of sample pairs of the form 'sample1 vs sample2' as returned from determineGroupComps |
Returns the indices of the M3D test-statistic components that contain the sample pair comparisons in 'samples'
Tom Mayo t.mayo@ed.ac.uk
library(BiSeq) data(MMDlistDemo) data(rrbsDemo) group1 <- 'H1-hESC' samples1 <- rownames(colData(rrbsDemo))[colData(rrbsDemo)[,]==group1] within1 <- M3D::determineGroupComps(samples1,type='within') findComps(MMDlistDemo, within1)