Last data update: 2014.03.03

R: Class "accuracy"
accuracy-classR Documentation

Class "accuracy"

Description

These objects hold the accuracy computation for the classification of chromosomes into inverted or non-inverted population for increasing levels of BIC thresholds.

Objects from the Class

accuracy is generated by calls to accBic(inversionList, mem, classFile, nsub, npoints, geno, wROI), which is a method for the class inversionList

Slots

out:

Object of class "matrix"

matrix with three columns storing the range of BIC thresholds, probability of inversion within the population and accuracy of the classification.

Methods

plot

signature(x = "accuracy",w="character"): plots accuracy Vs BIC for w="a", or frequency of inversion Vs BIC for w="f"

Note

version R 2.10.1

Author(s)

Alejandro Caceres acaceres@creal.cat

See Also

accBic, inversionList

Examples

data(ac)
ac
plot(ac)

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(inveRsion)
Loading required package: haplo.stats


Hola!

welcome to inevRsion package. 
 
 

type: manual() for full manual 
      vignette("inveRsion") for a quick start 

> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/inveRsion/accuracy-class.Rd_%03d_medium.png", width=480, height=480)
> ### Name: accuracy-class
> ### Title: Class "accuracy"
> ### Aliases: accuracy-class plot,accuracy-method
> ### Keywords: classes
> 
> ### ** Examples
> 
> data(ac)
> ac
An object of class "accuracy"
Slot "out":
         bicInt   prob     ac
 [1,]    0.0000 0.3180 0.9045
 [2,]  142.4209 0.3745 0.9610
 [3,]  284.8419 0.3945 0.9810
 [4,]  427.2628 0.4130 0.9995
 [5,]  569.6838 0.4130 0.9995
 [6,]  712.1047 0.4130 0.9995
 [7,]  854.5257 0.4130 0.9995
 [8,]  996.9466 0.4130 0.9995
 [9,] 1139.3676 0.4130 0.9995
[10,] 1281.7885 0.4135 1.0000
[11,] 1424.2095 0.4135 1.0000
[12,] 1566.6304 0.4135 1.0000
[13,] 1709.0514 0.4135 1.0000
[14,] 1851.4723 0.4135 1.0000
[15,] 1993.8933 0.4135 1.0000
[16,] 2136.3142 0.4135 1.0000
[17,] 2278.7352 0.4135 1.0000
[18,] 2421.1561 0.4135 1.0000
[19,] 2563.5771 0.4445 0.9690

> plot(ac)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>