GithubHelp home page GithubHelp logo

adeschen / methylinheritance Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 9.17 MB

Bioconductor Package - Permutation-Based Analysis associating Conserved Differentially Methylated Elements Across Multiple Generations to a Treatment Effect

Home Page: http://bioconductor.org/packages/methylInheritance/

R 100.00%
analysis bioconductor bioinformatics cpg differentially-methylated-elements inheritance monte-carlo-sampling permutation r

methylinheritance's People

Contributors

adeschen avatar belleau avatar hpages avatar nturaga avatar vobencha avatar

Watchers

 avatar  avatar

Forkers

belleau

methylinheritance's Issues

Simplify file system call

Instead of dir(), use:

system.file("extdata", "resultsForTransgenerationalAnalysis.RDS",
package="methylInheritance")

How to extract the position of the conserved DMCs

Hi, I would like to use your package for the analysis of RRBS data. First of all, do you think it is appropiate to use Mathylinheritance with RRBS data or should it be only fro WGBS? Can or should I make any fine-tuning for RRBS? Also, once the conserved DMCs are identified, how can I know the actual positions of the conserved DMCs? I manage to extract the results of each permutation but not the chromosome, start, end of each CpG that is conserved. Finally, I would like to ask if I can use this package with only 2 generations instead of 3. Thank you very much for your help!

Correct typo

List of typos:

  • a \code{list} of class \code{} when ...
  • @return a \code{list} containing...
  • itemize (instead of \itemize
    etc...

Use try/catch to remove warnings from methylkit functions

Use a try/catch strategy to remove all warnings generated by the methylKit functions. Use it for the specific warning: "glm.fit: fitted probabilities numerically 0 or 1 occurred". This warning is not related to a real problem.

Indent code properly

Indent code properly so it's easier to read/understand e.g.
runPermutationUsingMethylKitInfo(
samplesForTransgenerationalAnalysis,
type="sites", nbrPermutations=3, vSeed=221)
instead of
runPermutationUsingMethylKitInfo(methylKitInfo =
samplesForTransgenerationalAnalysis, type = "sites",
nbrPermutations = 3, vSeed = 221)

loadConvergenceData

Trying to load convergence data to get data.frame with p-values and then plot. However, I get an error stating: Error in seq.default(by, nbFiles, by) : wrong sign in 'by' argument

Currently to get seqFiles code (?):
filesInDir <- list.files(path = paste0(analysisResultsDir, toupper(type), "/"), pattern = "[[:digit:]].RDS", all.files = FALSE, full.names = TRUE, recursive = FALSE, ignore.case = FALSE, include.dirs = FALSE, no.. = FALSE)

nbFiles <- length(filesInDir)

seqFiles <- unique(c(seq(by, nbFiles, by), nbFiles))

I believe the code to get list.files should be :

list.files(path = paste0(permutationResultsDir, "/", toupper(type)), pattern ="[[:digit:]].RDS", all.files = FALSE,full.names = TRUE, recursive = FALSE,ignore.case = FALSE, include.dirs = FALSE, no.. = FALSE)

(since we are counting the number of permutations done, should be go to permutation folder (and not analysis). Placement of "/" in wrong positions, since directory for permuations is: Permu_folder/type/TYPE_permutation_1/RDS )

attempting to run the "corrected" list.files, returns a list of all the permuation files that were performed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.