This function can remove a given principal componet from a given
methylBase object. First, it calculates principal components from
percent methylation matrix and removes the given component(s), reconstructs
the methylation matrix then reconstructs number of methylated and unmethylated Cs per
position based on the reconstructed percent methylation matrix, and finally returns
1 2 3 4 5 6 7 8 9
vector of component numbers to be removed
Number of rows to be taken as a chunk for processing
A Logical to decide whether the resulting object should be saved as flat file database or not, default: explained in Details sections
optional Arguments used when save.db is TRUE
chunk.size is only used when working with
as they are read in chunk by chunk to enable processing large-sized
objects which are stored as flat file database.
Per default the chunk.size is set to 1M rows, which should work for
most systems. If you encounter memory problems or
have a high amount of memory available feel free to adjust the
save.db is per default TRUE for methylDB objects as
while being per default FALSE for
methylBase. If you wish to save
the result of an
in-memory-calculation as flat file database or if the size of the
database allows the calculation in-memory,
then you might want to change the value of this parameter.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.