Closed lckarssen closed 8 years ago
Hmm, this is unexpected. I'll have a look but it'll be a while due to the holidays.
Best, Kasper (Sent from my phone.)
On Dec 23, 2015, at 07:22, L.C. Karssen notifications@github.com wrote:
I tried to get a list of the control probe types of the example manifest using getControlTypes(), but I get the following output:
getControlTypes(IlluminaHumanMethylation450kmanifest) Error in NSBS(i, x, exact = exact, upperBoundIsStrict = !allowappend) : subscript contains invalid names This was after loading the minfi and minfiData packages Using the following works fine:
unique(getProbeInfo(IlluminaHumanMethylation450kmanifest, type="Control")$Type) [1] "STAINING" "EXTENSION" [3] "HYBRIDIZATION" "TARGET REMOVAL" [5] "BISULFITE CONVERSION I" "BISULFITE CONVERSION II" [7] "SPECIFICITY I" "SPECIFICITY II" [9] "NON-POLYMORPHIC" "NEGATIVE" [11] "RESTORATION" "NORM_A" [13] "NORM_G" "NORM_C" [15] "NORM_T" My sessionInfo():
sessionInfo() R version 323 (2015-12-10) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 1510
locale: [1] LC_CTYPE=en_USUTF-8 LC_NUMERIC=C [3] LC_TIME=nl_NLUTF-8 LC_COLLATE=en_USUTF-8 [5] LC_MONETARY=nl_NLUTF-8 LC_MESSAGES=en_USUTF-8 [7] LC_PAPER=nl_NLUTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=nl_NLUTF-8 LC_IDENTIFICATION=C
attached base packages: [1] stats4 parallel stats graphics grDevices utils datasets [8] methods base
other attached packages: [1] minfiData_0120 [2] IlluminaHumanMethylation450kannoilmn12hg19_021 [3] IlluminaHumanMethylation450kmanifest_040 [4] minfi_1160 [5] bumphunter_1100 [6] locfit_15-91 [7] iterators_108 [8] foreach_143 [9] Biostrings_2382 [10] XVector_0100 [11] SummarizedExperiment_101 [12] GenomicRanges_1222 [13] GenomeInfoDb_161 [14] IRanges_246 [15] S4Vectors_085 [16] lattice_020-33 [17] Biobase_2300 [18] BiocGenerics_0161
loaded via a namespace (and not attached): [1] mclust_51 rgl_0951247 base64_11 [4] Rcpp_0122 corpcor_168 Rsamtools_1220 [7] digest_068 plyr_183 futileoptions_100 [10] ellipse_03-8 RSQLite_100 ggplot2_200 [13] zlibbioc_1160 GenomicFeatures_1227 annotate_1480 [16] preprocessCore_1320 splines_323 BiocParallel_143 [19] stringr_100 igraph_101 RCurl_195-47 [22] biomaRt_2261 munsell_042 rtracklayer_1301 [25] multtest_2260 pkgmaker_022 GEOquery_2360 [28] quadprog_15-5 codetools_02-14 matrixStats_0501 [31] XML_398-13 reshape_085 GenomicAlignments_161 [34] MASS_73-45 bitops_10-6 grid_323 [37] nlme_31-122 xtable_18-0 gtable_012 [40] registry_03 DBI_031 magrittr_15 [43] scales_030 stringi_10-1 genefilter_1520 [46] doRNG_16 limma_3263 futilelogger_141 [49] nor1mix_12-1 lambdar_117 RColorBrewer_11-2 [52] mixOmics_520 siggenes_1440 tools_323 [55] illuminaio_0120 rngtools_124 survival_238-3 [58] colorspace_12-6 AnnotationDbi_1322 beanplot_12 — Reply to this email directly or view it on GitHub.
Thanks for the quick reply. No problem w.r.t. the holidays. The unique(getProbeInfo(...))
line gives me what I want.
Maybe of note: I upgraded to minfi 1.16.0 today. Before I was running 1.10.2 (minfiData v0.6.0), where I got the following error:
> getControlTypes(IlluminaHumanMethylation450kmanifest)
Error in normalizeSingleBracketSubscript(j, x) :
subscript contains invalid names
I forgot about this, but have returned to it. Basically, this function has always thrown an error, so I have removed it. Use getProbeInfo(type = "Control")
instead
To be honest, I forgot about it too :-).
Using getProbeInfo
was indeed the solution I went for.
Thanks.
I tried to get a list of the control probe types of the example manifest using
getControlTypes()
, but I get the following output:This was after loading the
minfi
andminfiData
packages. Using the following works fine:My
sessionInfo()
: