LINK TO CSV FILES: https://drive.google.com/drive/folders/1aCKWhTYptn2yI0VdO9IZ0-A5PPVbd92Z?usp=sharing
Posted: Sat May 14, 2022 4:54 pm
LINK TO CSV
FILES: https://drive.google.com/drive/folders/ ... sp=sharing
Q3. You are given two csv files: qtl_maps_small.csv and chr_size.csv. [20 points] qtl_maps_small.csv contains the locations of some important genetic markers in the chromosomes of humans. Each row in the file represents a genetic marker: first column is the name of the marker, second column is the name of the chromosome the marker is located, third column is the location of the marker in the chromosome. chr_size.csv contains the length of each chromosome. First column is the chromosome name, and second column is the length of the chromosome. Your goal is to write R code to generate the plot below to visually represent the data in the two files. In the plot, vertical lines represent the length of each chromosome. It should be arranged from largest to smallest. The dots on the lines represent the locations of the markers in the chromosome. Use geom_linerange to plot the vertical lines, and geom point to plot the dots.
90 60 Sod 30 - 9 13 14 12 17 18 15 16 19 10 chr
FILES: https://drive.google.com/drive/folders/ ... sp=sharing
Q3. You are given two csv files: qtl_maps_small.csv and chr_size.csv. [20 points] qtl_maps_small.csv contains the locations of some important genetic markers in the chromosomes of humans. Each row in the file represents a genetic marker: first column is the name of the marker, second column is the name of the chromosome the marker is located, third column is the location of the marker in the chromosome. chr_size.csv contains the length of each chromosome. First column is the chromosome name, and second column is the length of the chromosome. Your goal is to write R code to generate the plot below to visually represent the data in the two files. In the plot, vertical lines represent the length of each chromosome. It should be arranged from largest to smallest. The dots on the lines represent the locations of the markers in the chromosome. Use geom_linerange to plot the vertical lines, and geom point to plot the dots.
90 60 Sod 30 - 9 13 14 12 17 18 15 16 19 10 chr