第一个数据框:
var jwt = require('jsonwebtoken');
// ...
app.get('/getsomething', function(req, res) {
"use strict";
var token = req.headers[tokenName];
if (token) {
jwt.verify(token, app.get('some_secret'), {
ignoreExpiration: false
}, function(err, decoded) {
if (err || typeof decoded === "undefined") {
res.json({
status: 401,
message: "unauthorized"
});
}
else { // actual code starts here...
第二个数据框
> head(rawCountTable)
X1916.MJO.0001_1 X1916.MJO.0002_1 X1916.MJO.0003_1 X1916.MJO.0004_1 X1916.MJO.0005_1 X1916.MJO.0006_1
sp0055008 9 5 10 2 13 18
sp0052637 32 16 27 18 25 28
sp0025247 50 73 67 63 94 73
sp0025250 9 5 5 17 15 22
sp0025268 141 117 107 104 129 135
sp0025270 0 0 0 0 0 0
在合并期间,我收到以下错误:
> head(gene.description)
V1 V6
1: sp0082943 Exonuclease
2: sp0086614 NB-ARC domain
3: sp0013196 Ulp1 protease family, C-terminal catalytic domain
4: sp0088665 Ankyrin repeats (many copies)
5: sp0071721 Peptidase inhibitor I9
6: sp0012855 Ubiquitin fusion degradation protein UFD1
我需要将两个数据框合并在一起,因为
> merge(rownames(rawCountTable),gene.description, by.y="V1")
Error in merge.data.frame(as.data.frame(x), as.data.frame(y), ...)
我需要所有94003个ID。我错过了什么?
提前谢谢。