Closed Chhiring-Lama closed 2 years ago
I think there's a misunderstanding here if what the Footprint()
function does. It will take a collection of regions (eg, instances of a TF motif), and count the frequency of Tn5 integration events surrounding all of those sites, not individually. So if you provided a list of 17 regions, it will produce one output aggregating information across all of those sites.
Thank you so much for clarifying! I am now doing the footprinting for each region individually as I want to see Tn5 integration events at each TSS and within 1000bp from the TSS. It is working for some. However, some some it does not work. What could be causing the error?
| | 0 % ~calculating Computing observed Tn5 insertions per base
Computing base composition at motif sites
Error in dimnamesGets(x, value) :
invalid dimnames given for "dgCMatrix" object
If there are no fragments in the region it may cause an error, the function wasn't really designed to look at a single locus
Hi, I want to do TF footprinting centered on certain genes' TSS. So, I provided a list for peak regions where TSS are located to 'region' and their names to 'key' argument. However, out of the 17 regions, it only produces position enrichment for 2.
I could not regenerate the same issue with the atac_small object as fragment files were missing there for footprinting and I could not the positions for genes' TSS due as annotation for peaks in not present in the object.
Here is what I have so far: