bigmelon-normalization | R Documentation |
Set of functions that are used to perform quantile normalization methods on gds.class objects.
## S4 method for signature 'gds.class'
dasen(mns, fudge = 100, ret2 = FALSE, node="betas",...)
dasen.gds(gds, node, mns, uns, onetwo, roco, fudge, ret2)
qn.gdsn(gds, target, newnode)
db.gdsn(gds, mns, uns)
dfsfit.gdsn(gds, targetnode, newnode, roco, onetwo)
gds |
A gds.class object |
node |
The "name" of desired output |
mns |
The |
uns |
The |
onetwo |
The |
roco |
This allows a background gradient model to be fit. This is split from data column names by default. roco=NULL disables model fitting (and speeds up processing), otherwise roco can be supplied as a character vector of strings like 'R01C01' (only 3rd and 6th characters used). |
fudge |
The value added to total intensity to prevent denominactors close to zero when calculation betas. default = 100 |
ret2 |
if TRUE, appends the newly calculated methylated and unmethylated intensities to original gds (as specified in gds arguement). Will overwrite the raw intensities. |
target |
Target |
targetnode |
Target |
newnode |
"name" of desired output |
... |
Additional args such as roco or onetwo. |
Each function performs a normalization method described within the wateRmelon
package. Functions: qn.gdsn
, design.qn.gdsn
, db.gdsn
and
dfsfit.gdsn
are described to allow users to create their own custom
normalization methods. Otherwise calling dasen
or dasen.gds
e.t.c will perform the necessary operations for quantile normalization.
Each 'named' normalization method will write a temporary gds object called "temp.gds" into the current working directory and it is removed when normalization is complete. Current methods supplied by default arguments will replace the raw betas with normalized betas, but leave the methylated and unmethylated intensities unprocessed.
Normalization methods return nothing but will affect the gds file and replace/add nodes given to the function.
Tyler J Gorrie-Stone <t.gorrie-stone@qmul.ac.uk>
wateRmelon
, dasen
data(melon)
e <- es2gds(melon,'wat_melon.gds')
dasen(e)
closefn.gds(e) # Close gds object
unlink('wat_melon.gds') # Delete Temp file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.