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.20DKO PEd2 E11.5 F9.20DKO PEd2 E11.5            F9.20DKO
E11.5 F9.20DKO j0J1 E11.5 F9.20DKO j0J1 E11.5            F9.20DKO
> colnames(samples)
[1] "quant_samples" "age"           "geno"

Really, really confused.

On Tue, Oct 24, 2017 at 12:58 PM, Ed Siefker <ebs15...@gmail.com> wrote:
> 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

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to