Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in preprocessQuantile and preprocessFunnorm #180

Open
michaelnoe opened this issue Feb 5, 2019 · 5 comments
Open

Error in preprocessQuantile and preprocessFunnorm #180

michaelnoe opened this issue Feb 5, 2019 · 5 comments

Comments

@michaelnoe
Copy link

michaelnoe commented Feb 5, 2019

I get an error while running preprocessFunnorm:
[preprocessFunnorm] Background and dye bias correction with noob
[preprocessFunnorm] Mapping to genome
[preprocessFunnorm] Quantile extraction
Error: number of cluster centres must lie between 1 and nrow(x)

and something similar for preprocessQuantile:
[preprocessQuantile] Mapping to genome.
Error: number of cluster centres must lie between 1 and nrow(x)

I only ran the basic code (no subsetting of the data like in the previous case):
targets <- read.metharray.sheet(getwd())
RGset <- read.metharray.exp(targets = targets)
mdata1 <- preprocessFunnorm(RGset)
mdata2<- preprocessQuantile(RGset)

@kasperdanielhansen
Copy link
Collaborator

kasperdanielhansen commented Feb 5, 2019 via email

@michaelnoe
Copy link
Author

michaelnoe commented Feb 5, 2019

It's two samples: 1 woman and 1 man:
the RGset is:
class: RGChannelSet
dim: 1051815 2
metadata(0):
assays(2): Green Red
rownames(1051815): 1600101 1600111 ... 99810990 99810992
rowData names(0):
colnames(2): 203219720041_R07C01 203219720041_R08C01
colData names(9): Sample_Name Sample_Well ... Basename filenames
Annotation
array: IlluminaHumanMethylationEPIC
annotation: ilm10b4.hg19

my setup:
platform x86_64-apple-darwin15.6.0
arch x86_64
os darwin15.6.0
system x86_64, darwin15.6.0
status
major 3
minor 5.2
year 2018
month 12
day 20
svn rev 75870
language R
version.string R version 3.5.2 (2018-12-20)
nickname Eggshell Igloo

minfi: version 1.28.3

@michaelnoe
Copy link
Author

It's probably not associated with the setup, since I just tried it on the jhpce-cluster and it gives the same error...

@iranmdl
Copy link

iranmdl commented May 30, 2024

I am having the same issue, any updates?

RGSet

class: RGChannelSet
dim: 622399 2
metadata(0):
assays(2): Green Red
rownames(622399): 10600313 10600322 ... 74810490 74810492
rowData names(0):
colnames(2): 5723646052_R02C02 5723646052_R04C01
colData names(13): Sample_Name Sample_Well ... Basename filenames
Annotation
  array: IlluminaHumanMethylation450k
  annotation: ilmn12.hg19

@RijndertAriese
Copy link

Hi,

I also encounter the same issue, could someone shed some light on this?

My RGSet:

class: RGChannelSet 
dim: 1051943 2 
metadata(0): 
assays(2): Green Red(1051943): 1600101 1600111 ... 99810990 99810992
rowData names(0):
colnames(2): BRO.Tumor BRO.Healthy
colData names(7): GSM_ID Sample_Name ... Basename filenames
Annotation
  array: IlluminaHumanMethylationEPIC
  annotation: ilm10b4.hg19

When I run preprocessQuantile(rgSet) I get Error: number of cluster centres must lie between 1 and nrow(x)

Any help would be appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants