Git Product home page Git Product logo

Comments (3)

PeteHaitch avatar PeteHaitch commented on August 17, 2024

Once you have an HDF5-backed BSseq object (i.e. you've run HDF5Array::saveHDF5BackedSummarizedExperiment() and you have the se.rds and assays.h5 files) then you can load it back into R using HDF5Array::loadHDF5SummarizedExperiment().
There's no need for read.bismark() once you're at this point, so I don't really understand what you're trying to do.

from bsseq.

sahuno avatar sahuno commented on August 17, 2024

this is good question! thanks @PeteHaitch for the response!
As a follow question -
if you subset a loaded bsseq object in an R session backed by hdf5 do you need to manually resave on disk before using the modified bsseq object for bsmooth()?
here's an example after removing chromosomes Y and MT, where bsmooth() doesn't seem to recognize the modified bsseq object. pls how can i resolve this? thanks!!!

chrMT_loci <- which(bismark_bsseq@rowRanges@seqnames == "MT")
chrY_loci <- which(bismark_bsseq@rowRanges@seqnames == "Y")
chr_loci_rm <- c(chrMT_loci, chrMT_loci)
bismark_bsseq <- bismark_bsseq[-chr_loci_rm,]

message("\n performing bsmoothing \n")
bismark_bsseq.fit <- BSmooth(BSseq = bismark_bsseq,
                            BPPARAM = MulticoreParam(workers = 24,progressbar = TRUE),
                            verbose = TRUE)

from bsseq.

PeteHaitch avatar PeteHaitch commented on August 17, 2024

if you subset a loaded bsseq object in an R session backed by hdf5 do you need to manually resave on disk before using the modified bsseq object for bsmooth()?

No, that shouldn't be necessary.

here's an example after removing chromosomes Y and MT, where bsmooth() doesn't seem to recognize the modified bsseq object. pls how can i resolve this?

I don't understand what you mean and the code you've pasted in doesn't show any output.
If you're having a problem please post a reproducible example so we can help you.

from bsseq.

Related Issues (20)

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.