Last data update: 2014.03.03

R: Plots the ACC vs LOI and LMA graphs of an imported or...
plotLMAR Documentation

Plots the ACC vs LOI and LMA graphs of an imported or manually entered data set

Description

This is the main function of the package and the one that should be used to plot the ACC vs LOI and LMA graphs. If weights are not relevant leave the column blank (null values)

Usage

plotLMA(str = NULL, header = FALSE)

Arguments

str

A string containing the full path of the CSV file to be imported, should be left blank if manual data entry is desired

header

A boolean variable indicating if the imported CSV file has a header row or not, ignored if str is null

Value

A matrix containing all the calculated columns that were used in the graphs plotting

Author(s)

Tal Carmi,Liat Gaziel

Examples

#plotLMA()

## The function is currently defined as
function (str = NULL, header = FALSE) 
{
    if (is.null(str)) {
        mat <- fillData()
    }
    else {
        mat <- fillCSVData(str, header)
    }
    mat <- calcWeights(mat)
    mat <- averageSameXs(mat)
    mat <- calcFX(mat)
    mat <- calcFY(mat)
    mat <- calcLOI(mat)
    mat <- calcLMA(mat)
    plotGraphs(mat)
    return(mat)
  }

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(ACCLMA)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/ACCLMA/plotLMA.Rd_%03d_medium.png", width=480, height=480)
> ### Name: plotLMA
> ### Title: Plots the ACC vs LOI and LMA graphs of an imported or manually
> ###   entered data set
> ### Aliases: plotLMA
> ### Keywords: ~kwd1 ~kwd2
> 
> ### ** Examples
> 
> #plotLMA()
> 
> ## The function is currently defined as
> function (str = NULL, header = FALSE) 
+ {
+     if (is.null(str)) {
+         mat <- fillData()
+     }
+     else {
+         mat <- fillCSVData(str, header)
+     }
+     mat <- calcWeights(mat)
+     mat <- averageSameXs(mat)
+     mat <- calcFX(mat)
+     mat <- calcFY(mat)
+     mat <- calcLOI(mat)
+     mat <- calcLMA(mat)
+     plotGraphs(mat)
+     return(mat)
+   }
function (str = NULL, header = FALSE) 
{
    if (is.null(str)) {
        mat <- fillData()
    }
    else {
        mat <- fillCSVData(str, header)
    }
    mat <- calcWeights(mat)
    mat <- averageSameXs(mat)
    mat <- calcFX(mat)
    mat <- calcFY(mat)
    mat <- calcLOI(mat)
    mat <- calcLMA(mat)
    plotGraphs(mat)
    return(mat)
}
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>