Entering edit mode
                    8.3 years ago
        Kritika
        
    
        ▴
    
    270
    Hello All i have file for example like this:
s1 s2 s3 s4 s5 s6 
x   y   a   q   a  h
h   b   a   h   a  q
a   c   v   b   n  k
b   c   a
assuming a,b,c,d,e,f is my genes name
so as can be seen x is only present in one sample so i can say x is present in 16.6% population only present in s1
so i need some R code or some other way i can do?