Entering edit mode
Hello, there,
I am testing the function "makeCountsFromAbundance" using the following data (numbers derived from Salmon output):
> count
a b c d
A 27 50 67 36
B 0 0 0 0
> length
a b c d
A 310.08 395.79 504.53 342.48
B 1026.00 1008.00 1009.00 1021.00
> abundance
[,1] [,2] [,3] [,4]
[1,] 3.14 4.95 3.84 4.91
[2,] 0.00 0.00 0.00 0.00
> f=makeCountsFromAbundance(count,abundance,length,countsFromAbundance="scaledTPM")
> f
a b c d
A 27 50 67 36
B 0 0 0 0
I don't think I got the "scaledTPM" as the documentation indicated... Instead, the output is just raw counts. Could anyone help me with it?
Thanks.
C.
Thank you very much!