I have an issue for read.metharray.sheet. In Basename, c(" inserted. How can I remove it?
SampleSheet.csv is located in /disk2/kb/samples/EPICv1.
idat files are located in /disk2/kb/samples/EPICv1/207179230070 and /disk2/kb/samples/EPICv1/207179230101.
My code and SeesionInfo are below.
Code
`
basedir <- c('/disk2/kb/samples/EPICv1')
targets <- read.metharray.sheet(basedir, pattern = "csv$", ignore.case = TRUE, recursive = TRUE, verbose = TRUE)
[read.metharray.sheet] Found the following CSV files:
[1] "/disk2/kb/samples/EPICv1/SampleSheet.csv"
targets
Sample_Name Sample_Well Sample_Plate Sample_Group Pool_ID person age sex
1 X0uM-1 GroupA NA NA NA
2 X0uM-2 GroupA NA NA NA
3 X1uM-1 GroupA NA NA NA
4 X1uM-2 GroupA NA NA NA
5 X0uM-3 GroupA NA NA NA
6 X0uM-4 GroupA NA NA NA
7 X3uM-1 GroupB NA NA NA
8 X3uM-2 GroupB NA NA NA
9 X3uM-3 GroupB NA NA NA
10 X3uM-4 GroupB NA NA NA
status Array Slide
1 NA R01C01 207179230070
2 NA R02C01 207179230070
3 NA R03C01 207179230070
4 NA R04C01 207179230070
5 NA R05C01 207179230070
6 NA R06C01 207179230070
7 NA R01C01 207179230101
8 NA R02C01 207179230101
9 NA R05C01 207179230101
10 NA R06C01 207179230101
Basename
1 c("/disk2/kb/samples/EPICv1/207179230070/207179230070_R01C01
2 c("/disk2/kb/samples/EPICv1/207179230070/207179230070_R02C01
3 c("/disk2/kb/samples/EPICv1/207179230070/207179230070_R03C01
4 c("/disk2/kb/samples/EPICv1/207179230070/207179230070_R04C01
5 c("/disk2/kb/samples/EPICv1/207179230070/207179230070_R05C01
6 c("/disk2/kb/samples/EPICv1/207179230070/207179230070_R06C01
7 c("/disk2/kb/samples/EPICv1/207179230101/207179230101_R01C01
8 c("/disk2/kb/samples/EPICv1/207179230101/207179230101_R02C01
9 c("/disk2/kb/samples/EPICv1/207179230101/207179230101_R05C01
10 c("/disk2/kb/samples/EPICv1/207179230101/207179230101_R06C01`
I have an issue for read.metharray.sheet. In Basename, c(" inserted. How can I remove it?
SampleSheet.csv is located in /disk2/kb/samples/EPICv1. idat files are located in /disk2/kb/samples/EPICv1/207179230070 and /disk2/kb/samples/EPICv1/207179230101.
My code and SeesionInfo are below.
Code `