createDfFeature: Create data frame of (count/intensity) values for a selected...

View source: R/tab_values.R

createDfFeatureR 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", seq_len(10)), 
        paste("sample", seq_len(10))))
x2 <- x1 + 5
x3 <- x2 + 10

l <- list(x1 = x1, x2 = x2, x3 = x3)
createDfFeature(l, "feature 1")


tnaake/MatrixQCvis documentation built on Nov. 4, 2024, 7:42 a.m.