createDfFeature {MatrixQCvis}R Documentation

Create data frame of (count/intensity) values for a selected feature along data processing steps

Description

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'.

Usage

createDfFeature(l, feature)

Arguments

l

'list' containing matrices at different processing steps

feature

'character', element of 'rownames' of the matrices in 'l'

Details

Internal usage in 'shinyQC'

Value

'data.frame'

Examples

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")


[Package MatrixQCvis version 1.0.0 Index]