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

parse.gctx() dimnames error #23

Closed
rpeys opened this issue Oct 19, 2018 · 3 comments
Closed

parse.gctx() dimnames error #23

rpeys opened this issue Oct 19, 2018 · 3 comments

Comments

@rpeys
Copy link

rpeys commented Oct 19, 2018

I am getting an error in parse.gctx() which I can't figure out.
I run parse.gctx("../fpkm_limit_baseline_cd138.gct") and get this error:

parsing as GCT v1.2
../fpkm_limit_baseline_cd138.gct 55861 rows, 770 cols, 0 row descriptors, 0 col descriptors
Error in dimnames(mat) = list(rid, cid) :
length of 'dimnames' [2] not equal to array extent
In addition: Warning messages:
1: In matrix(mat, nrow = nrmat, ncol = ncmat + nrhd + col_offset, byrow = TRUE) :
data length [43068831] is not a sub-multiple or multiple of the number of columns [772]
2: In matrix(as.numeric(mat[, (1 + col_offset):ncol(mat)]), nrow = nrmat, :
NAs introduced by coercion

Any ideas how to get past this? My file is a gct not gctx file. It's extension is .gct, and here is a snapshot of the first few rows/columns:

image

I am using cmapR version 1.0.1, and here is my session info:

$platform
[1] "x86_64-apple-darwin15.6.0"

$arch
[1] "x86_64"

$os
[1] "darwin15.6.0"

$system
[1] "x86_64, darwin15.6.0"

$status
[1] ""

$major
[1] "3"

$minor
[1] "5.1"

$year
[1] "2018"

$month
[1] "07"

$day
[1] "02"

$svn rev
[1] "74947"

$language
[1] "R"

$version.string
[1] "R version 3.5.1 (2018-07-02)"

$nickname
[1] "Feather Spray"

@tnat1031
Copy link
Contributor

tnat1031 commented Oct 20, 2018 via email

@rpeys
Copy link
Author

rpeys commented Oct 21, 2018

Thank you, @tnat1031 ! Here is a link to the gct file: https://www.dropbox.com/s/vs8503sziwqb0cq/fpkm_limit_baseline_cd138.gct?dl=0

@tnat1031
Copy link
Contributor

tnat1031 commented Oct 21, 2018 via email

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

2 participants