I have a data frame in csv format of genes expressed in different tissue types that looks like
Brain Liver Kidney A4GALT A4GNT AACS AAAS AAAS AABAD AACS AACS AAGAB AADAC AADAC AAK1 AADAT AAGAB AAMDC
I would like to sort through these to identify the genes that are unique to each tissue type to produce a data frame like so:
Brain Liver Kidney A4GALT A4GNT AABAD AADAT AAK1 AAMDC
I have tried doing this various ways in excel but the data frame is just too large.
Is there a possible function is R that can do this?