GRMeta-package: GRMeta

Description Details Author(s) Examples

Description

GRMeta is great

Details

The DESCRIPTION file:

Author(s)

GRMeta

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
library(GRMeta)

(testfiles=list.files(system.file( package = "GRMeta"),pattern = "txt$",full.names = TRUE))
lcdata=loadAgilentData(ifile =testfiles[1],params = list(AssayName="lc"))
gcdata1=loadAgilentData(ifile =testfiles[2],params = list(AssayName="gc",Batch="B1"))
gcdata2=loadAgilentData(ifile =testfiles[3],params = list(AssayName="gc",Batch="B2"))

finaldata=mergeSet(lcdata,gcdata1,gcdata2)
finaldata
## or step by step
gcdata=mergeSet(gcdata1,gcdata2)
gcdata=deleteEntries(gcdata,Sid=c("Sa_cond1_5.B2"))
gcdata=update(gcdata,what="Sid",formerid = c("Sa_cond1_5.B1"),newid = c("Sa_cond1_5"))

finaldata=mergeSet(lcdata,gcdata)

## plot analytes that correspond to AMP
plot(lcdata,MetName="AMP")

## plot all analytes from method="lc"
plot(finaldata,Method="lc")

## by default all analytes are considered if dumping to PDF
## Not run: 
plot(finaldata,outfile="All.pdf")

## End(Not run)

### Export "Area", replace NA by "-" and "NA"
## Not run: 
exportSetXLSX(mydata,outfile="test.xlsx",ldata="Area",sortSid="Sid",characterNA=c("-","NA"))

## End(Not run)

kroemerlab/GRMeta documentation built on March 25, 2020, 11:32 a.m.