Closed jgilis closed 2 years ago
Just a note, I made these changes to account for these function definitions below, and I also added salmonEC to the pkgdown list of reference topics.
* checking R code for possible problems ... NOTE
readEq: no visible global function definition for ‘fread’
readEq: no visible binding for global variable ‘last’
salmonEC: no visible global function definition for ‘fread’
salmonEC: no visible global function definition for ‘sparseVector’
sv.cbind: no visible binding for global variable ‘slot’
Ah great, I indeed forgot about including those! I was supposed to include
@importFrom methods slot @importFrom data.table fread last @importFrom svMisc progress
in the salmonEC imports, but then I forgot.
But ofc calling with ::
from Suggest is good as well!
I think we're set. Thanks again for these contributions. I noted some thoughts in #salmon2bioc
about test data etc.
Hi Mike,
PR for including salmon-EC, a function to generate an equivalence class (EC) count matrix from salmon output, more specifically from raw
eq_classes.txt
files that are generated by running salmon with the optional--dumpEq
flag.Just one point of discussion:
readEq
helper function, I generate the rownames of the ECC matrix. This is done by pasting/collapsing the indices of transcripts with which the ECC is compatible. I previously did this withstringi::stri_c
, but now changed it topaste
. The latter is a bit slower, but of course avoids havingstringi
in Suggests. The speed loss for my dataset is approximately 2%.Best regards,
Jeroen