createDfFeature {MatrixQCvis} | R Documentation |
The function 'createDfFeature' takes as input a list of matrices and returns the row 'feature' of each matrix as a column of a 'data.frame'. The function 'createDfFeature' provides the input for the function 'featurePlot'.
createDfFeature(l, feature)
l |
'list' containing matrices at different processing steps |
feature |
'character', element of 'rownames' of the matrices in 'l' |
Internal usage in 'shinyQC'
'data.frame'
set.seed(1) x1 <- matrix(rnorm(100), ncol = 10, nrow = 10, dimnames = list(paste("feature", 1:10), paste("sample", 1:10))) x2 <- x1 + 5 x3 <- x2 + 10 l <- list(x1 = x1, x2 = x2, x3 = x3) createDfFeature(l, "feature 1")