ファイル:Citrus tern cb simplified.svg

ページのコンテンツが他言語でサポートされていません。

元のファイル(SVG ファイル、899 × 911 ピクセル、ファイルサイズ: 121キロバイト)

概要

解説
English: Citrus fruits clustered by genetic similarity of partial sequences. Ternary diagram showing hybridization in citrus cultivars. Data from (2014-12). "Next generation haplotyping to decipher nuclear genomic interspecific admixture in Citrusspecies: analysis of chromosome 2". BMC Genetics 15 (1). DOI:10.1186/s12863-014-0152-1. ISSN 1471-2156. Retrieved on 2017-07-08.
日付
原典 投稿者自身による著作物
作者 HLHJ
その他のバージョン File:Citrus_tern_cb_simplified_1.svg (updated version using full, not partial, sequences) This version should be used. The original paper plots a slightly extended version of this superseded dataset in 3-D, see File:S12863-014-0152-1-3.gif.

ライセンス

この作品の著作権者である私は、この作品を以下のライセンスで提供します。
w:ja:クリエイティブ・コモンズ
表示 継承
このファイルはクリエイティブ・コモンズ 表示-継承 4.0 国際ライセンスのもとに利用を許諾されています。
あなたは以下の条件に従う場合に限り、自由に
  • 共有 – 本作品を複製、頒布、展示、実演できます。
  • 再構成 – 二次的著作物を作成できます。
あなたの従うべき条件は以下の通りです。
  • 表示 – あなたは適切なクレジットを表示し、ライセンスへのリンクを提供し、変更があったらその旨を示さなければなりません。これらは合理的であればどのような方法で行っても構いませんが、許諾者があなたやあなたの利用行為を支持していると示唆するような方法は除きます。
  • 継承 – もしあなたがこの作品をリミックスしたり、改変したり、加工した場合には、あなたはあなたの貢献部分を元の作品とこれと同一または互換性があるライセンスの下に頒布しなければなりません。

Derivation

This diagram was made using the Unix command line, the statistics language R, and the SVG editor Inkscape, using the following algorithm. Use "Edit" to get it with newlines, and thus formatted so you can cut-and-paste it.

Script for making the diagram from the raw data

#Data from Additional file 8, Curk et al., "Next generation haplotyping to decipher nuclear genomic interspecific admixture in Citrus species: analysis of chromosome 2" BMC Genetics 2014 15:152, doi:10.1186/s12863-014-0152-1
#Copy-and-paste pdf's table to an ASCII text file, citrus_tern_table.txt
#Remove the error estimates by removing all lines beginning with '±'

cat citrus_tern_table.txt | sed '/^±/ d' > citrus_tern_table2.txt

#Remove blank lines

cat citrus_tern_table2.txt | sed '/^$/ d' > citrus_tern_table3.txt

#Because sed reads things line-by-line, replacing patterns containing newlines (\n0 with \t0, in this case) is awkward.
#Thanks http://stackoverflow.com/questions/1251999/how-can-i-replace-a-newline-n-using-sed?noredirect=1

cat citrus_tern_table3.txt | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n0/\t0/g' > citrus_tern_table4.txt

#Add a leading newline back, so you get a leading tab

echo -e | cat - citrus_tern_table4.txt > citrus_tern_table5.txt

#Replace the newlines in the header with tabs

cat citrus_tern_table5.txt | sed -e ':a' -e 'N' -e '$!ba' -e 's/\nC\. /\tC\./g' > citrus_tern_table_done.txt

#Manually took out a random newline in "Deep Red [\n]pummelo"
#Manually changed Meyer lemo -> Meyer lemon
#Manually changed Nanfengmijuu -> Nanfengmiju
#Enter R command-line environment

R

#Load needed library. If fails, may need to run this: install.packages("ggtern")

library(ggtern)

#read datatable and tidy format

citrus_table = read.csv("./citrus_tern_table_done.txt",header=TRUE, sep = "\t") dimnames(citrus_table)1<-citrus_table[,1] citrus_table[,1] <- NULL

#====================================================================
#Make an original theme that works for colourblind viewers
#See http://bconnelly.net/2013/10/creating-colorblind-friendly-figures/

colours_colourblind<-c("black"="#000000", "cb_orange"="#E69F00", "cb_pale_blue"="#56B4E9", "cb_green"="#009E73", "cb_yellow"="#F0E442", "cb_darkblue"="#0072B2", "cb_red"="#D55E00", "cb_purple"="#CC79A7")

theme_colourblind<-theme_custom(base_size = 12, base_family = "", tern.plot.background = NULL, tern.panel.background = "grey92", col.T = colours_colourblind[2], col.L = colours_colourblind[6], col.R = colours_colourblind[7], col.grid.minor = "white")

#====================================================================
#Basic plot using built-in theme, not too good for colourblind viewers, for debugging
#citrus_tern <- ggtern(data = citrus_table, aes(x = C.maxima, y = C.reticulata, z = C.medica)) +geom_point(size = 4, shape = 21, color = "black") + ggtitle("Citrus hybrids") + theme_gray() + theme(legend.position = c(0,1), legend.justification = c(0, 1)) +geom_text(aes(label=rownames(citrus_table)),hjust=0, vjust=0)
#Plot that works for colourblind viewers,

citrus_tern <- ggtern(data = citrus_table, aes(x = C.maxima, y = C.reticulata, z = C.medica)) +geom_point(size = 4, shape = 21, color = "black") + ggtitle("Citrus hybrids") + theme_colourblind + theme(legend.position = c(0,1), legend.justification = c(0, 1)) +geom_text(aes(label=rownames(citrus_table)),hjust=0, vjust=0)

citrus_tern

#====================================================================
#Output plot as an svg file

svg("citrus_tern.svg",width=10,height=10) citrus_tern dev.off()

#Prettify. Manually edit labels, titles, etc. using the Inkscape SVG editor

キャプション

このファイルの内容を1行で記述してください

このファイルに描写されている項目

題材

8 7 2017

52008d0283be8e47c00d845459f47ed25f38f0db

123,710 バイト

911 ピクセル

899 ピクセル

ファイルの履歴

過去の版のファイルを表示するには、その版の日時をクリックしてください。

日付と時刻サムネイル寸法利用者コメント
現在の版2017年7月9日 (日) 01:102017年7月9日 (日) 01:10時点における版のサムネイル899 × 911 (121キロバイト)HLHJDistinguishes between lemons (asexually propagated bud sport group), and recent independent hybrids, now labeled ''Brand "lemon"'' rather than ''Brand lemon''.
2017年7月8日 (土) 16:452017年7月8日 (土) 16:45時点における版のサムネイル899 × 911 (119キロバイト)HLHJUser created page with UploadWizard

このファイルを使用しているページはありません。

グローバルなファイル使用状況

以下に挙げる他のウィキがこの画像を使っています:

メタデータ