Skip to content

Weibel-Fortin Exercise 9 Submission#1

Open
cweibel2 wants to merge 9 commits into
araiho:masterfrom
cweibel2:master
Open

Weibel-Fortin Exercise 9 Submission#1
cweibel2 wants to merge 9 commits into
araiho:masterfrom
cweibel2:master

Conversation

@cweibel2

Copy link
Copy Markdown

No description provided.

@araiho araiho left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great Job! 4/4

Comment thread Exercise_9.R
ggplot(data)+
geom_boxplot(aes(x=mutation, y=ponzr1Counts))

data <- read.csv("/Users/elizabethfortin12/Documents/ND First Year/Biocomputing/R_Programming/Exercise_9/ponzr1.csv")

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go up above the plots. And try to keep it coming from the raw data in the repo that way anyone could rerun your code. With the file path the way it is now, it would be hard to rerun.

Comment thread Exercise_9.R

# data frames containing only one mutation
m124k <- data[data$mutation=='WT',]
m124k[11:20,] <- data[data$mutation=='M124K',]

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work? I learned something new! Could do data[data$mutation==c('WT','M124K'),]

Comment thread Exercise_9.R
C <- 2*(results[3,1]-results[3,2])
results[1,3] <- pchisq(q=A, df=1, lower.tail=FALSE)
results[2,3] <- pchisq(q=B, df=1, lower.tail=FALSE)
results[3,3] <- pchisq(q=C, df=1, lower.tail=FALSE)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Comment thread Exercise_9.R

# Load Data

data1=read.csv("/Users/chelseaweibel/Desktop/Biocomputing/R.data/Biocomputing Exercise 9.Use/MmarinumGrowth.csv")

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again careful with the file paths

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants