You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chrYAM=0.00173#the median of the Y chromosome percentage from three adult males,https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4956272/# chrYAM_Optimized = 0.000374Ycount<- read.table("FFY/samples_Y_readCount_var_35bp.txt", header=F,sep="", stringsAsFactors=F)
colnames(Ycount) = c("ID","chry","chrall")
Ycount$chryP_Original=Ycount$chry/Ycount$chrallchryF_Original= mean(Ycount$chryP_Original[which(Ycount$gender=="F")])
Ycount$FFY= (Ycount$chryP_Original-chryF_Original)/(chrYAM-chryF_Original)
Ycount$FFY[-which(Ycount$gender=='M')] =0Ycount$FFY[which(Ycount$FFY<0)] =0
write.table(Ycount, file="FFY/samples_Y_readCount_var_35bp_conf.txt", r=F,c=T,quote=F)