Displaying 2 results from an estimated 2 matches for "jdinis".
2012 Oct 26
3
Delete row if two values in a matrix are equal
Hi all and thank you for your time.
I would like to delete rows from this matrix I call "var" if the character
in Ref_Allele is equal to the character in Var_Allele. I have attached a
before and after, to help my poor explanation. If someone could provide me
with some code, or some guidance I would really appreciate it.
Thank you again.
"Before"
> var
Ref_Pos Ref_Allele
2012 Nov 03
2
reorder() in the latticeExtra library
Hello all, thanks for your time and help. Below are my commands, and it
generates a really nice plot, however I am not happy with the reorder()
function. I would like the order to be the same as they appear in the
genotype variable "genotype <- c("CJ1450 NW 4/25/12","CJ1450 BAL
4/25/12","CJ1450 NW 4/27/12","CJ1450 BAL 4/27/12","CJ1721 NW