LMGene: LMGene main function

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

LMGene calls function genediff to calculate the unadjusted gene-specific and posterior p-values of all genes and then calculates the FDR-adjusted p-values of all genes. Significant genes for each factor in model (based on either the gene-specific or posterior FDR-adjusted p-values) are output.

Usage

1
2
LMGene(eS, model = NULL, level = 0.05, posterior = FALSE, 
method = c("MLE", "MOM", "MOMlog"))

Arguments

eS

An ExpressionSet object. Any transformation and normalization of exprs(eS) should be conducted prior to use in LMGene.

model

Specifies model to be used. Default is to use all variables from eS without interactions. See details.

level

Significance level

posterior

If TRUE, the posterior FDR-adjusted p-values are used in listing significant genes for each factor. Default is to use gene-specific FDR-adjusted p-values.

method

Method by which the posterior p-values are calculated. Default is "MLE".

Details

If you have data in a matrix and information about experimental design factors, then you can use neweS to convert the data into an ExpressionSet object. Please see neweS for more detail.

The level argument indicates the False Discovery Rate, e.g. level=0.05 means a 5 percent FDR.

The model argument is an optional character string, constructed like the right-hand side of a formula for lm. It specifies which of the variables in the ExpressionSet will be used in the model and whether interaction terms will be included. If model=NULL, it uses all variables from the ExpressionSet without interactions. Be careful of using interaction terms with factors; this often leads to overfitting, which will yield an error.

See genediff for details of method.

Value

lmres

A list with one component for each factor in model. Each component consists of a character vector with one element per significant gene. If no genes are significant for a given factor, the component for that factor is set to "No significant genes".

Author(s)

David Rocke and Geun-Cheol Lee

References

Benjamini, Y. and Hochberg, Y. (1995) Controlling the false discovery rate: a practical and powerful approach to multiple testing, Journal of the Royal Statistical Society, Series B, 57, 289–300.

David M. Rocke (2004) Design and analysis of experiments with high throughput biological assay data, Seminars in Cell & Developmental Biology, 15, 703–713.

http://dmrocke.ucdavis.edu

See Also

genediff, neweS

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
library(Biobase)
library(LMGene)

#data
data(sample.mat)
data(vlist)

raw.eS <- neweS(sample.mat, vlist)

# glog transform data
trans.eS <- transeS(raw.eS, lambda = 727, alpha = 56)

# Identify significant genes, using an FDR of 1 percent
LMGene(trans.eS, level = 0.01)

Example output

Loading required package: Biobase
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, cbind, colMeans, colSums, colnames, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, lengths, mapply, match, mget, order, paste, pmax, pmax.int,
    pmin, pmin.int, rank, rbind, rowMeans, rowSums, rownames, sapply,
    setdiff, sort, table, tapply, union, unique, unsplit, which,
    which.max, which.min

Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

Loading required package: multtest
Loading required package: survival
Loading required package: affy

Attaching package: 'LMGene'

The following object is masked from 'package:base':

    norm

Warning message:
In read.dcf(con) :
  URL 'http://bioconductor.org/BiocInstaller.dcf': status was 'Couldn't resolve host name'
$patient
  [1] "g1"   "g4"   "g5"   "g6"   "g11"  "g12"  "g13"  "g14"  "g15"  "g16" 
 [11] "g24"  "g25"  "g27"  "g28"  "g31"  "g32"  "g34"  "g35"  "g36"  "g40" 
 [21] "g43"  "g46"  "g48"  "g49"  "g50"  "g51"  "g56"  "g60"  "g61"  "g63" 
 [31] "g65"  "g66"  "g74"  "g87"  "g88"  "g92"  "g105" "g106" "g113" "g114"
 [41] "g115" "g116" "g118" "g119" "g120" "g122" "g123" "g124" "g125" "g126"
 [51] "g127" "g143" "g149" "g151" "g154" "g155" "g158" "g160" "g162" "g169"
 [61] "g170" "g172" "g173" "g174" "g175" "g176" "g178" "g179" "g185" "g186"
 [71] "g188" "g191" "g201" "g202" "g208" "g209" "g212" "g213" "g214" "g217"
 [81] "g224" "g226" "g227" "g228" "g231" "g241" "g250" "g256" "g257" "g258"
 [91] "g259" "g260" "g261" "g264" "g266" "g267" "g268" "g269" "g270" "g271"
[101] "g272" "g277" "g278" "g302" "g315" "g319" "g331" "g333" "g334" "g335"
[111] "g336" "g337" "g338" "g340" "g347" "g349" "g357" "g358" "g359" "g364"
[121] "g366" "g374" "g376" "g384" "g394" "g395" "g403" "g405" "g406" "g407"
[131] "g408" "g409" "g411" "g412" "g413" "g415" "g416" "g418" "g419" "g420"
[141] "g422" "g423" "g424" "g425" "g426" "g436" "g438" "g450" "g451" "g460"
[151] "g462" "g463" "g464" "g465" "g466" "g467" "g468" "g469" "g472" "g479"
[161] "g485" "g486" "g487" "g491" "g492" "g493" "g497" "g510" "g525" "g528"
[171] "g531" "g532" "g536" "g541" "g544" "g547" "g549" "g551" "g552" "g559"
[181] "g566" "g569" "g570" "g571" "g572" "g573" "g577" "g579" "g580" "g592"
[191] "g594" "g595" "g597" "g599" "g600" "g601" "g602" "g604" "g605" "g609"
[201] "g613"

$dose
[1] "No significant genes"

LMGene documentation built on April 28, 2020, 8:01 p.m.