Skip to contents

Summarize probe-set using median of each unique probe and only takes in data matrix with the same number of probes per unique probe-set.

Usage

med.sum.pbset(data, pbset.id = NULL, num.per.unipbset = 10)

Arguments

data

dataset to be summarized. The dataset must have rows as probes and columns as samples. It must be a data matrix with the same number of probes per unique probe-set. If it is already on the probe-set level, no manipulation will be done.

pbset.id

a vector of unique probe-set names. If it is not specified, then by default it is set to be the unique probe names of the data.

num.per.unipbset

number of probes for each unique probe-set. By default, num.per.unipbset = 10.

Value

probe-set median summarized data

Examples

if (FALSE) {
uhdata.psl <- med.sum.pbset(data = uhdata.pl,
                            num.per.unipbset = 10)
}