Creating a subset variation data

I need to create a subset of the variation data, I run the code and the original data is there but when I get to the subset it shows up as 0 obs. of 5 variables . I'm not sure what's wrong with my code.


^this is how it shows up after I run it
(here is the code used)
library(readr)
variationdatatemplate <- read_csv("variationdatatemplate.csv")
View(variationdatatemplate)
variationdata <- read.csv("variationdatatemplate.csv")
View(variationdata)
summary(variationdata)
str(variationdata)
Euglenadata <- subset(variationdata, Group=="Euglena1" | Group=="Euglena2")
GreylingData <- subset(variationdata, Group=="Greyling1" | Group=="Greyling2")

Hi!

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.