I want to gather methylation column from 100s of BS sequences files into a single file in a way that the first column should be the name of genes and the other 100 columns are the methylation value.
like:
Gene File1 File2 File3
NM_001 50 100 NA
NM_002 33.3 NA 100
for this i making a data frame and pasted the gene names in 1st column.It is done sucessfully.
When i try to paste methylation from 1st file by using logical indexing, it prints a new column but having NA
like:
Gene File1 File2 File3
NM_001 NA
NM_002 NA
I dont know how to do this.because when i use merging function it is taking too long to merge 2 files and also after 25 files it is not able to merge 2 files.
I have also changed the factor type into their appropriate data type but still not working