Skip to Main Content
R Bioinformatics Cookbook
book

R Bioinformatics Cookbook

by Dan MacLean
October 2019
Intermediate to advanced content levelIntermediate to advanced
316 pages
9h 45m
English
Packt Publishing
Content preview from R Bioinformatics Cookbook

How it works...

In Step 1, we begin by reading in the arabidopsis.gff file, a file that describes the lengths of the chromosomes we'd like to use in our plot. We only needed the name, start, and end columns, so we piped the data to the dplyr::select() function to keep the appropriate columns, that is, X1, X4, and X5. As a .gff file has no column headings, the read_tsv() functions give the column names X1 ... Xn. We saved the result in the df object.

In Step 2, we started building the plot. We used the circos.genomicInitialize() function with df to create the plot's backbone and coordinate system and then manually added a single link. The circos.link() function allows us to create a single origin and destination using the chromosome's name, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

R Bioinformatics Cookbook - Second Edition

R Bioinformatics Cookbook - Second Edition

Dan MacLean
R Cookbook, 2nd Edition

R Cookbook, 2nd Edition

JD Long, Paul Teetor

Publisher Resources

ISBN: 9781789950694Supplemental Content