Skip to content

Add-on package to manage environmental data and use it with Haplin

License

Notifications You must be signed in to change notification settings

jromanowska/HaplinMethyl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e589e13 · Sep 11, 2024

History

97 Commits
Aug 12, 2024
Jan 17, 2024
Jan 17, 2024
Apr 13, 2023
Feb 8, 2023
Jan 26, 2023
Jun 29, 2021
Jun 29, 2021
Apr 13, 2023
Sep 11, 2024
Jun 25, 2021
Jan 19, 2024
Jan 17, 2024

Repository files navigation

HaplinMethyl

DOI

Additional package to extend the data read by Haplin.

The HaplinMethyl package provides three categories of important functions:

  • reading the data,
  • loading the read-in data, and
  • manipulating the environmental data.

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")