Last data update: 2014.03.03

R: Retrieve all results of chi-squared test
chisqtestR Documentation

Retrieve all results of chi-squared test

Description

Retrieve all results of chi-squared test

This method is used to retrieve all the chi-squared test results for all models tested for all genes.

Usage

chisqtest(object, ...)

## S4 method for signature 'INSPEcT_model'
chisqtest(object, ...)

## S4 method for signature 'INSPEcT'
chisqtest(object, ...)

Arguments

object

An object of class INSPEcT or INSPEcT_model

...

Additional arguments for the generic

Value

A matrix of chi-squared test results for all the tested models

Examples

data('mycerIds10', package='INSPEcT')
chisqtest(mycerIds10)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(INSPEcT)
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, xtabs

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

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, cbind, 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, rownames, sapply, setdiff, sort, table, tapply, union,
    unique, unsplit

Welcome to Bioconductor

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

Loading required package: BiocParallel
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/INSPEcT/chisqtest.Rd_%03d_medium.png", width=480, height=480)
> ### Name: chisqtest
> ### Title: Retrieve all results of chi-squared test
> ### Aliases: chisqtest chisqtest,INSPEcT-method
> ###   chisqtest,INSPEcT_model-method
> 
> ### ** Examples
> 
> data('mycerIds10', package='INSPEcT')
> chisqtest(mycerIds10)
                0            a          b          c           ab         bc
77595  0.32799296 5.643010e-06 0.22898593 0.09394505 8.752191e-07 0.37462152
66943  0.11427782 4.648707e-02 0.15384689 0.03362970 2.441809e-06 0.03168703
16969  0.19071722 1.846811e-05 0.12084222 0.07743600 1.248891e-03 0.22341884
76863  0.01159503 9.971773e-03 0.02845843 0.01074796 1.000000e+00 0.04684908
56372  0.10310783 2.999804e-01 1.00000000 0.04751211 1.000000e+00 1.00000000
64540  0.13201297 5.318123e-04 0.03838519 0.01804577 6.123044e-05 0.02749367
74194  0.10716469 6.123570e-02 0.33030524 0.22289805 2.641462e-03 0.26514200
110651 0.15731044 9.766616e-04 0.08015335 0.05193187 6.695864e-03 0.01505087
72972  0.41925710 2.916103e-03 0.23338725 0.07860504 3.930750e-05 0.07550034
19230  0.02258174 3.574598e-05 0.06153790 0.06627025 1.685396e-02 0.15514300
                 ac          abc
77595  9.342817e-05 6.570135e-05
66943  2.901571e-02 1.735690e-05
16969  9.698509e-04 2.987905e-02
76863  2.164877e-02 1.000000e+00
56372  1.496337e-01 1.000000e+00
64540  5.279288e-03 5.026829e-03
74194  1.695714e-01 3.736061e-02
110651 1.436032e-05 2.694260e-05
72972  4.158668e-04 6.708602e-06
19230  1.638145e-04 1.074725e-02
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>