Trouble Loading Data into Champ
2
0
Entering edit mode
Bethan • 0
@bethan-24856
Last seen 3.8 years ago

Hey everyone,

I'm really new to R (first week!) and am trying to develop a script to analyse my DNA Methylation data.

I began with the minfi package initially and everything worked smoothly there, but I've been getting stuck with Champ. To start with, I've been having trouble loading in the data set.

Below, you can see the code I'm using ("filepath" meaning my file directory, which works fine), and the Error message it generates. I've already looked online and can't find any info on it. Can anyone make any recommendations?

Cheers!


# Code

testDir=file.path("filepath")
myLoad <- champ.load(testDir,arraytype="450k")

# Error Message

Error in if (any(numfail >= SampleCutoff)) { :
missing value where TRUE/FALSE needed
loaddata ChAMPdata champload R ChAMP • 1.6k views
ADD COMMENT
0
Entering edit mode
Basti ▴ 780
@7d45153c
Last seen 2 days ago
France

Hi,

Are you using EPIC or 450k array ? Because it seems this issue occurs when we set the wrong arratype.

ADD COMMENT
0
Entering edit mode
hfbarrerat • 0
@3f9c0bf6
Last seen 19 months ago
Colombia

Try

myLoad <- champ.load("raw/",arraytype="EPIC")

ADD COMMENT

Login before adding your answer.

Traffic: 486 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6