Git Product home page Git Product logo

Comments (6)

kasperdanielhansen avatar kasperdanielhansen commented on August 28, 2024 1

@TracyHIT : make sure you are running the latest version of minfi (1.20). And try to make a reproducible example using say minfiData or minfiDataEPIC. I cannot reproduce the error either.

from minfi.

Jfortin1 avatar Jfortin1 commented on August 28, 2024

Hi TracyHIT.

First, they do work together -- tested and confirmed on my side.
"detP" is a matrix, and therefore to use "filterpronames<-rownames[which(detP<=0.05)]" does not quite make sense. "which(detP<=0.05)" will return a vector m x n, where m is number of rows and n is the number of columns.

If you want to keep probes for which the detP is less or equal to 0.05 for all samples, I suggest to use the following instead:
filterpronames <- which(rowSums(detP <= 0.05) == ncol(detP))

from minfi.

TracyHIT avatar TracyHIT commented on August 28, 2024

@kasperdanielhansen :I am running the version of the minfi is "1.18.6" and I just use the data download from "https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSM999339"

so the "basename<-GSM999339_hg19_wgEncodeHaibMethyl450HepatoSitesRep1"

Thank you for your answer

from minfi.

TracyHIT avatar TracyHIT commented on August 28, 2024

@Jfortin1 πŸ‘ I am running the version of the minfi is "1.18.6" and I just use the data download from "https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSM999339"

I only use only one chipβ€˜s data~ ~ I accepted your suggestion and changed the "which(detP<=0.05)"

~~ but it still can not work ~~
I want to drop some probs.

from minfi.

kasperdanielhansen avatar kasperdanielhansen commented on August 28, 2024

Use the new bioconductor / minfi, that should fix your problem. We cannot even fix the old version anymore.

from minfi.

TracyHIT avatar TracyHIT commented on August 28, 2024

Using new bioconductor / minfi, I have fixed my problem~

from minfi.

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.