dot-extractCol2: Function .extractCol2

Description Usage Arguments Details Value Author(s) Examples

Description

Take a named list of dataframes where each dataframe has the same column names (e.g. a list of topTable dataframes). Extract the named column from each dataframe and return a matrix.

Usage

1
.extractCol2(dflist, colName)

Arguments

dflist

A named list of dataframes which all have some common colnames and some overlap on rownames (genes). and same row counts. The dataframes in the list should have rownames (geneIDs).

colName

The name of the data column to extract to a matrix. This column must be present in all dataframes on the list.

Details

The common use case for this is to provide a list of topTable data frames and extract one column from each file to create a matrix of LogRatios or Pvalues.

Value

A dataframe containing the extracted columns

Author(s)

John Thompson, jrt@thompsonclan.org

Examples

1
    MyPvalues  = .extractCol2(TopTableList, "P.Value")

jrthompson54/DGE.Tools2 documentation built on May 12, 2021, 8:47 p.m.