Closed danielcgingerich closed 7 months ago
Wait... is n =
argument from NucleosomeSignal
responsible for this? Is it reading a random sample of n
fragments of the fragment file?
Yes, a subset of the fragment file is used (otherwise it takes too long). If you have cells with very low number of fragments then it's possible that none of them are seen in the sample
Thanks! I've updated my code with n = NULL
I noticed this when plotting a violin of the nucleosome signal of my data.
So I figured this was due to NA values in the metadata:
To investigate further I ran the command
NucleosomeSignal
from the source codeIdentified the culprit as
af
But this did not make sense, because the cell does have fragments...
And this is confirmed by looking at the fragments file: