摘要:
2.2Organizing Qualitative Data The number of times a particular distinct value occurs is called its frequency (or count) Relative-Frequency Distributi
阅读全文
posted @ 2019-07-18 12:26
YUANya
阅读(335)
推荐(0)
编辑
摘要:
2.1Variables and Data Variable:某物或某人的某一特征和其他个体不同。 quantitative variables:定量变量either discrete (可以被数)or continuous.(A continuous variable is a variable
阅读全文
posted @ 2019-07-14 22:59
YUANya
阅读(438)
推荐(0)
编辑
摘要:
1.2 Simple Random Sampling Census, :全部信息 Sampling: 抽样方式: representative sample:有偏向,研究者选择自己觉得有代表性的sample probability sampling:使用随机数表不用研究者来抽样,较为客观(研究者可以
阅读全文
posted @ 2019-07-14 22:14
YUANya
阅读(327)
推荐(0)
编辑
摘要:
descriptive statistics:组织和总结信息,为自身(可以是population也可以是sample)审视和探索, inferential statistics.从sample中推论population情况并评价推论可信度 在population中精挑细选出sample Observ
阅读全文
posted @ 2019-07-14 20:55
YUANya
阅读(344)
推荐(0)
编辑
摘要:
a= 'eeekkksksksk' print a.replace('e','s').replace('s','k') #kkkkkkkkkkkk change={"e":"s","k":'@',"s":"!"} a_new=''.join(change[i] for i in a) print(a_new) ''' sss@@@!@!@!@ ''
阅读全文
posted @ 2019-07-11 21:09
YUANya
阅读(224)
推荐(0)
编辑
摘要:
#!/usr/bin/python import re import sys import gzip change={'A':'T','T':'A','C':'G','G':'C','N':'N'} CODE = { 'GCA' : 'A', 'GCC' : 'A', 'GCG' : 'A', 'GCT' : 'A
阅读全文
posted @ 2019-07-11 21:01
YUANya
阅读(400)
推荐(0)
编辑
摘要:
#!/usr/bin/python a=set([i for i in range(4,8)]) b=set([i for i in range(5,12)]) c= sorted(a & b) print c print reduce(lambda x,y:(x-1)*y,c) def func_1(x,y): return (x-1)*y print reduce(func_...
阅读全文
posted @ 2019-07-11 16:05
YUANya
阅读(158)
推荐(0)
编辑
摘要:
#!/usr/bin/python from subprocess import check_call import subprocess import gzip ''' $ zcat 160121_I133_FCH5LL5BBXX_L8_RSZADPI007179-107_2.fq.gz |head -4 >o3 $ cat o3 @K00133:143:H5LL5BBXX:8:1101:1...
阅读全文
posted @ 2019-07-11 15:33
YUANya
阅读(182)
推荐(0)
编辑
摘要:
#!/usr/bin/python import sys import getopt import re def compare(f1,f2,o1,o2,si_line): lines_count=0; in1 = open(f1,"r") in2 = open(f2,"r") ou1 = open(o1,"w") ou2 = open(o2,"w"...
阅读全文
posted @ 2019-07-10 16:34
YUANya
阅读(120)
推荐(0)
编辑
摘要:
cd /xxx/genome_stat/Annotation ln -s /xxx/02.annotation/gff_v2/*.homolog.v2.gff /xxx/genome_stat/Annotation ls *.gff | while read l;do echo "perl /xxx/02.annotation/build_pipeline/bin/stat_gff.pl $l"...
阅读全文
posted @ 2019-07-10 16:28
YUANya
阅读(651)
推荐(0)
编辑