Displaying 3 results from an estimated 3 matches for "quant_samples".
2017 Oct 24
2
as.data.frame doesn't set col.names
Why doesn't this work?
> samples$geno <- as.data.frame(sapply(yo, toupper), col.names="geno")
> samples
quant_samples age sapply(yo, toupper)
E11.5 F20het BA40 E11.5 F20het BA40 E11.5 F20HET
E11.5 F20het BA45 E11.5 F20het BA45 E11.5 F20HET
2017 Oct 24
0
as.data.frame doesn't set col.names
Wait. Now I'm really confused.
>
> head(samples)
quant_samples age sapply(yo, toupper)
E11.5 F20het BA40 E11.5 F20het BA40 E11.5 F20HET
E11.5 F20het BA45 E11.5 F20het BA45 E11.5 F20HET
E11.5 F20het BB84 E11.5 F20het BB84 E11.5 F20HET
E11.5 F9.20DKO KTr3 E11.5 F9.20DKO KTr3 E11.5 F9.20DKO
E11.5 F9....
2017 Oct 24
2
as.data.frame doesn't set col.names
...R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Ed Siefker
Sent: Tuesday, October 24, 2017 1:00 PM
To: r-help <r-help at r-project.org>
Subject: Re: [R] as.data.frame doesn't set col.names
Wait. Now I'm really confused.
>
> head(samples)
quant_samples age sapply(yo, toupper)
E11.5 F20het BA40 E11.5 F20het BA40 E11.5 F20HET
E11.5 F20het BA45 E11.5 F20het BA45 E11.5 F20HET
E11.5 F20het BB84 E11.5 F20het BB84 E11.5 F20HET
E11.5 F9.20DKO KTr3 E11.5 F9.20DKO KTr3 E11.5 F9.20DKO
E11.5 F9....