fmicompbio / footprintR

Tools for working with single-molecule footprinting data
https://fmicompbio.github.io/footprintR/
Other
0 stars 0 forks source link

Position filtering #16

Closed csoneson closed 2 weeks ago

csoneson commented 1 month ago
csoneson commented 1 month ago

Some things to discuss:

mbstadler commented 1 month ago

Just my 2-cents to the questions above:

I have a question regarding the coverage filter, at this line: I guess our assays always have row names, but is it safer/required to go via rownames, or would a logical keep also work and be more general?

csoneson commented 1 month ago

Thanks!

I have a question regarding the coverage filter, at this line: I guess our assays always have row names, but is it safer/required to go via rownames, or would a logical keep also work and be more general?

You're right, we don't need rownames - the two objects (mat and se) should always have the same rows anyway.

remove NA positions: I would maybe rather implement such a function separately under a different name (.removeAllZeroPositions, and a new argument in filterPositions(..., assay.type.zero)), if we need it.

Also makes sense to me

csoneson commented 1 month ago
csoneson commented 2 weeks ago

Included in #22