plotLMA: Plots the ACC vs LOI and LMA graphs of an imported or...

Description Usage Arguments Value Author(s) Examples

View source: R/lmafunctions.r

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

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
#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)
  }

ACCLMA documentation built on May 2, 2019, 8:49 a.m.