jromanowska / HaplinMethyl

Add-on package to manage environmental data and use it with Haplin
https://jromanowska.github.io/HaplinMethyl/
MIT License
0 stars 0 forks source link

HaplinMethyl

DOI

Additional package to extend the data read by Haplin.

The HaplinMethyl package provides three categories of important functions:

For those who can't wait to try things out...

Reading the environmental data:

The two functions (envDataRead and envDataReadFromObj) read in the data and create an object of env.data class, which is a list of ff-matrices. Simultaneously, two files are written: .RData and .ffData. These are connected and will be used in the data-loading function. The object created here has also summary and print methods defined for easier viewing.

Loading the read-in data:

envDataLoad function loads the data, which is super-fast, compared to reading the data in.

Manipulating the data:

The user can extract a subset of the data read in by any of the above functions, with envDataSubset. This will create new .RData and .ffData files. Moreover, there are two functions that are created specifically for DNA methylation data: findCpGsnearSNP and findCpGsRange can be used to create CpG lists that are near a given SNP or within a certain coordinate range.

Read more...

Checkout the vignettes!

vignette(package = "HaplinMethyl")

Installation

If you don't have devtools installed, run

install.packages("devtools")

Then, you're ready to install the newest HaplinMethyl via

devtools::install_github("jromanowska/HaplinMethyl")