Displaying 4 results from an estimated 4 matches similar to: "splitting a dataframe in R based on multiple gene names in a specific column"
2017 Aug 23
0
splitting a dataframe in R based on multiple gene names in a specific column
Hi Bogdan,
Messy, and very specific to your problem:
df.sample.gene<-read.table(
text="Chr Start End Ref Alt Func.refGene Gene.refGene
284 chr2 16080996 16080996 C T ncRNA_exonic GACAT3
448 chr2 113979920 113979920 C T ncRNA_exonic LINC01191,LOC100499194
465 chr2 131279347 131279347 C G ncRNA_exonic LOC440910
525 chr2 223777758 223777758 T A
2017 Aug 25
1
splitting a dataframe in R based on multiple gene names in a specific column
If row numbers can be dispensed with, then tidyr makes this easy with
the unnest function:
#####
library(dplyr)
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#> filter, lag
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, setequal, union
library(purrr)
2009 Mar 19
1
zip.file.extract
Hello everyone,
Can anyone give me some hint/suggestion for unzipping a file in R? The
help file for "zip.file.extract" function seems to be difficult to
understand.
For example, the name of my zip file is "refGene.txt.gz", which is
located in "C:\Documents and Settings\Desktop\test1". I would like to
unzip this file to the same directory.
Here's
2010 Mar 16
1
G-test : log-likelihood ratio test
Dear Peter,
I am running your g.test() with the william's correction but I have a question about the input numbers. These are my data:
"Our data are consistent with those obtained using microarray comparative genome hybridization in that we found significantly fewer variants per Mb on the X compared to the autosomal chromosomes (152 versus 336 respectively, G = 93.4, P < 2e-16, df =