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

How to solve problem with error : $ operator is invalid for atomic vectors? #158

Open
TPlatek opened this issue Apr 15, 2024 · 3 comments
Open

Comments

@TPlatek
Copy link

TPlatek commented Apr 15, 2024

Hello,
I am trying to analyse my methylation DNA EPIC v 2.0 arrays with sesame.
I am using windows and really new to R and Sesame.

After the code:
readIDATpair("208133980083_R01C01","manifest=mft")
There is an error:
Error in mft$col : $ operator is invalid for atomic vectors.

Could everyone please advise me how to solve this problem?

list.files(pattern = "*.idat")
library(sesame)
s=readIDATpair("208133980083_R01C01")
s
mft <- read.csv("C:/Wyniki_EPIC_GenomeScan/Dane/R/EPICv2.0manifest/EPIC-8v2-0_A1.csv",
header = T, stringsAsFactors = F, na.strings = c("NA", ""))
setwd("C:/Wyniki_EPIC_GenomeScan/Dane/R")
mft <- read.csv("C:/Wyniki_EPIC_GenomeScan/Dane/R/EPICv2.0manifest/EPIC-8v2-0_A1.csv",
header = T, stringsAsFactors = F, na.strings = c("NA", ""))
head(mft)
readIDATpair("208133980083_R01C01","manifest=mft")

Error in mft$col : $ operator is invalid for atomic vectors

@zwdzwd
Copy link
Owner

zwdzwd commented Apr 15, 2024

Hi, what's your version number with sesame_checkVersion()? sounds like it's a version issue.

@TPlatek
Copy link
Author

TPlatek commented Apr 15, 2024 via email

@zwdzwd
Copy link
Owner

zwdzwd commented Apr 15, 2024

for this version, I don't think you need mft argument. EPICv2 is supported by default. Have you tried just readIDATpair("208133980083_R01C01")

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