Question: getTagMatrixList question from ChIPSeeker package
gravatar for Ana.SastrePerona
4.0 years ago by
United States
Ana.SastrePerona0 wrote:


I am fairly new to coding and am trying to work through the ChIPSeeker package using my own data in R.  I have gotten to section 7 to do the ChIP peak data comparison but I am not sure how to input multiple files into the getTagMatrix command.  I have tried to just list my files in the following lines:

> tagMatrixList <- lapply(files[["peak_1", "peak_2", "peak_3"]], getTagMatrix, windows=promoter)

> tagMatrixList <- lapply(files("peak_1", "peak_2", "peak_3"), getTagMatrix, windows=promoter)

> tagMatrixList <- lapply(files("peak_1" "peak_2" "peak_3"), getTagMatrix, windows=promoter)

I also tried to create a list with the files to run in, but it didn't work.

Can someone give me advice?



chipseeker • 759 views
ADD COMMENTlink modified 4.0 years ago • written 4.0 years ago by Ana.SastrePerona0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 393 users visited in the last hour