*Hi,*
*
*
*i think that you are making a mistake. When you use *
*
*
order(rownames(snp.matrix$fam)) you're sorting the data, so it will be in
the same order of the data_one.
If rownames() are defined correctly in data_one, you only have to do:
data_one[rownames(snp.matrix$fam),]
Note that it's
Hi, I am trying to match the order of the rownames of a dataframe with
the rownames of another dataframe (I can't simply sort both sets
because I would have to change the order of many other connected
datasets if I did that): Also, the second dataset (snp.matrix$fam) is
a snp matrix slot:
so for e
2 matches
Mail list logo