I have generated the csv file by using following command
write.csv(results_genes, "chrX_gene_results.csv", row.names=FALSE)
my output file lacks particular gene names in gene column the file appears as :
gene MSTRG.9464 1 0.456607798602799 0.46264129580405 gene MSTRG.61457 1 0.456608200007355 0.46264129580405 gene MSTRG.27219 0.999999999999999 0.456608285295604 0.46264129580405
Can some one tell me that how can I find and compose particular gene names in gene in column? is there any script ? or some thing is missing in my data which fails to fetch the gene name?