sampleClusteredData: A function to arrange the data in sample-wise pairs

Description Usage Arguments Details Value Author(s) Examples

Description

This function arranges the duplicate data, grouped by samples, in a form which can be averaged using the limma function avedups.

Usage

1
sampleClusteredData(Data, no.peaks)

Arguments

Data

A data frame of duplicate data from the biomarker wizard.

no.peaks

The number of peaks detected by the biomarker wizard.

Details

The output is a dataframe of repeated sample expression values, clustered by samples. This data is used as an input to the betweensampleVariance function, and is then averaged and used to compute the biological variance as well as the mean difference in the expression values between cancer and noncancer controls.

Value

The output is a dataframe of repeated sample expression values, clustered by samples.

Author(s)

Stephen Nyangoma

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# arrange the data in a form which can be averaged by the limma function dupcor
# use the function called limmaData

data(liverdata)

no.peaks <- 53

Data <- liverdata

JUNK_DATA <- sampleClusteredData(Data,no.peaks)
  

clippda documentation built on Nov. 8, 2020, 8:13 p.m.